Michael Niedermayer b5e661bcd2 avcodec/mjpegdec: check bits per pixel for changes similar to dimensions
Fixes out of array accesses
Fixes: asan_heap-oob_16668e9_2_asan_heap-oob_16668e9_346_miss_congeniality_pegasus_mjpg.avi

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 5c378d6a6d)

Conflicts:

	libavcodec/mjpegdec.c
(cherry picked from commit 94371a404c663c3dae3d542fa43951567ab67f82)

Conflicts:

	libavcodec/mjpegdec.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-12 00:47:04 +01:00
2013-10-06 19:04:27 +02:00
2015-03-12 00:43:38 +01:00
2011-06-12 18:01:29 +02:00
2013-02-17 23:41:01 +01:00
2013-10-06 19:07:56 +02:00
2011-05-21 13:48:10 +02:00
2011-04-08 02:50:13 +02:00
2011-10-01 20:32:22 +02:00
2011-11-04 00:40:43 +01:00
2013-10-06 19:07:56 +02:00
2013-10-06 19:07:56 +02:00

FFmpeg README
-------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.
Description
No description provided
Readme 173 MiB
Languages
C 92.1%
Assembly 6%
Makefile 1.2%
C++ 0.3%
Objective-C 0.2%
Other 0.1%