lavf/flvdec: init AVPacket::pos to FLVTAG offset
authorSuman- <sumankancherla-at-google.com@ffmpeg.org>
Tue, 18 Oct 2016 22:13:23 +0000 (15:13 -0700)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 26 Oct 2016 00:12:18 +0000 (02:12 +0200)
commita81494b60337027067c00e6f8501a61ae1a2d05e
treebd2132a4ce0d427aec2156648d97daa91305a294
parent03a6feb2137d14bc55a8fb9d9fca94bdaf0a7b16
lavf/flvdec: init AVPacket::pos to FLVTAG offset

Current code doesn't initialize AVPacket::pos. Made it point to FLVTAG so flv_read_packet can decode from pos

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/flvdec.c
tests/ref/seek/acodec-adpcm-swf
tests/ref/seek/acodec-adpcm-swf-trellis
tests/ref/seek/lavf-flv_fmt
tests/ref/seek/vsynth_lena-flashsv
tests/ref/seek/vsynth_lena-flv