OSDN Git Service

Reset cur_scan at more appropriate places.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 27 Aug 2011 19:55:57 +0000 (21:55 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Thu, 1 Sep 2011 20:54:35 +0000 (22:54 +0200)
commit55a1fe7a803027ebb202f790c5b77b0e1de6af5d
treefb36555693209e80deb1f03febf314477615432e
parentd5d7de7671c92bb62ea3f4dff5c23646bae46510
Reset cur_scan at more appropriate places.

Reset it when we actually process an EOI, not when we actually
decide to ignore it for bug-workarounds, and reset it on
SOF to make it more reliable in case of missing EOI.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
libavcodec/mjpegdec.c