Files
FFmpeg/libavcodec
Ronald S. Bultje 33149928ed 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 74699ac8c8)

Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2012-04-01 18:33:26 +02:00
..
2011-09-26 19:31:32 +02:00
2011-05-21 13:48:10 +02:00
2011-05-21 13:48:10 +02:00
2012-03-18 17:50:17 +01:00
2011-06-02 20:06:00 +01:00
2011-06-02 20:06:00 +01:00
2011-06-02 07:04:22 -07:00
2011-06-02 07:04:22 -07:00
2011-05-24 07:52:31 +02:00
2011-05-24 07:52:31 +02:00
2011-05-21 13:48:10 +02:00
2012-03-18 17:50:40 +01:00
2011-05-03 21:20:13 -07:00
2011-04-26 18:25:24 +02:00
2011-04-26 18:25:24 +02:00
2012-03-18 17:50:40 +01:00
2011-04-26 18:25:24 +02:00
2011-05-21 13:48:10 +02:00
2011-09-26 19:26:29 +02:00
2011-06-02 20:06:00 +01:00
2011-05-21 13:48:10 +02:00
2012-03-18 17:50:35 +01:00
2011-05-21 13:48:10 +02:00
2011-05-21 13:48:10 +02:00
2011-05-15 13:12:47 +02:00
2011-06-02 20:06:00 +01:00
2011-05-01 19:35:55 +02:00
2011-06-13 21:16:30 -07:00
2011-05-21 13:48:10 +02:00
2011-05-24 19:10:28 +02:00
2012-03-18 17:50:40 +01:00
2011-03-31 12:01:27 +01:00
2011-03-31 12:01:27 +01:00
2011-04-01 15:16:06 +01:00
2011-04-26 18:25:24 +02:00
2011-04-26 18:25:24 +02:00
2011-06-03 12:59:05 +01:00
2011-05-04 21:12:39 +02:00
2011-05-21 13:48:10 +02:00
2011-05-19 10:21:37 +02:00
2011-05-21 13:48:10 +02:00
2011-05-21 13:48:10 +02:00
2012-02-19 15:08:43 +01:00
2011-06-13 21:16:30 -07:00
2012-04-01 18:33:26 +02:00
2011-04-26 18:25:24 +02:00
2011-05-03 21:20:05 -07:00
2011-06-02 20:06:00 +01:00
2011-09-26 19:26:32 +02:00
2011-05-21 13:48:10 +02:00
2011-09-26 19:26:29 +02:00
2011-03-31 12:01:27 +01:00
2011-03-31 12:01:27 +01:00
2012-03-18 17:50:31 +01:00
2011-05-21 13:48:10 +02:00
2011-06-02 20:06:00 +01:00
2011-05-20 11:05:19 +01:00
2011-06-02 20:06:00 +01:00
2011-05-21 13:48:10 +02:00
2011-06-02 20:06:00 +01:00
2011-05-24 12:37:51 +02:00
2011-05-21 13:48:10 +02:00
2011-04-26 18:25:24 +02:00
2011-04-19 16:18:59 +02:00
2011-09-26 19:26:29 +02:00
2011-09-26 19:26:29 +02:00
2011-05-08 12:43:04 -07:00
2011-05-08 12:43:04 -07:00
2012-03-18 17:50:40 +01:00
2012-03-18 17:50:31 +01:00
2011-06-23 08:50:37 +02:00
2011-05-21 13:48:10 +02:00
2012-03-18 17:50:11 +01:00
2011-03-20 13:25:19 +00:00
2011-05-21 13:48:10 +02:00
2012-03-18 17:50:41 +01:00
2011-06-18 22:12:21 -07:00
2011-06-13 21:16:30 -07:00
2011-09-26 19:26:29 +02:00
2011-06-02 21:18:04 +01:00
2011-05-21 13:48:10 +02:00
2012-03-18 17:50:40 +01:00
2011-06-02 20:06:00 +01:00
2011-06-02 20:06:00 +01:00
2011-09-26 19:26:32 +02:00
2011-09-26 19:26:30 +02:00
2011-12-03 21:07:07 +01:00
2011-12-04 09:20:10 +01:00
2011-12-04 09:21:09 +01:00
2012-03-18 17:50:35 +01:00
2011-05-21 13:48:10 +02:00
2011-05-21 13:48:10 +02:00
2011-04-26 18:25:24 +02:00
2012-03-18 17:50:36 +01:00
2011-04-19 19:01:22 +02:00
2011-06-02 20:06:00 +01:00