diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-02-17 16:27:36 -0800 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2012-04-01 18:33:26 +0200 |
commit | 33149928edef047fb6391cf8a84602a213c62921 (patch) | |
tree | 31f794e7b8369191b5eb44fdac2c8e3cd92372ff /libavcodec/arm | |
parent | 9a331217b00be566e8cc7afcd4df916b43e1756b (diff) | |
download | ffmpeg-33149928edef047fb6391cf8a84602a213c62921.tar.gz |
mjpegb: don't return 0 at the end of frame decoding.
Return 0 indicates "please return the same data again", i.e. it causes
an infinite loop. Instead, return that we consumed the buffer if we
finished decoding succesfully, or return an error if an error occurred.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit 74699ac8c8b562e9f8d26e21482b89585365774a)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavcodec/arm')
0 files changed, 0 insertions, 0 deletions