Check the 4th plane too when selecting the pixfmt.
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 27 Sep 2008 01:50:57 +0000 (01:50 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 27 Sep 2008 01:50:57 +0000 (01:50 +0000)
commit7c1e33f930a890fc89ec0d5f48c49eb473aea5f4
tree2f163251e182e45984ce2ce77b0ec282a24b967b
parente73db71899821a5dcdaa3137186aa9b28800bd76
Check the 4th plane too when selecting the pixfmt.
Fixes a crash with Test-4-component-YCCK.jpg.

Originally committed as revision 15435 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mjpegdec.c