]> git.sesse.net Git - ffmpeg/commit
avformat/mpjpegdec: ensure seekback for latest chunk
authorMoritz Barsnick <barsnick@gmx.net>
Sun, 6 Oct 2019 22:19:30 +0000 (00:19 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 12 Oct 2019 11:21:50 +0000 (13:21 +0200)
commitf76a899abc80512959ec7deab25bc9642c4feb73
tree8bf174efb9b0287db2c9c9bee0d76bb7d5355a1e
parent1ea44a55fe36c92420cba3542de256a1507f52fe
avformat/mpjpegdec: ensure seekback for latest chunk

Not only the first, but each latest chunk must be cached to allow
seekback after finding the mime boundary.

Fixes trac #5023 and #5921.

Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mpjpegdec.c