hevc: remove first packet offset for hevc. [1/1]
authorshihong.zheng <shihong.zheng@amlogic.com>
Tue, 24 Nov 2020 09:11:27 +0000 (17:11 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Tue, 1 Dec 2020 03:11:09 +0000 (19:11 -0800)
commite75f31835a33879ce0ef2b22f29ff18acc342985
tree09068edb7474678a4ce539178d646ab7a83fa95e
parent6bdc30f9cf62c039d3f15be4c4c13df18ca5d37f
hevc: remove first packet offset for hevc. [1/1]

PD#SWPL-37489

Problem:
hevc picture stream offset is not based on
streambuf start. it get from shiftbyte count.
so it's wrong to add first wp.

Solution:
remove first packet offset for hevc.

Verify:
ah212

Change-Id: I51e4fa9a1f8e41fcddfa02531ead11124a9cfccf
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
drivers/frame_provider/decoder/utils/vdec.c
drivers/stream_input/amports/stream_buffer_base.c