Return error when trying to decode non-grayscale 16-bit PNM images.
authorJustin Ruggles <justin.ruggles@gmail.com>
Sun, 14 Sep 2008 15:50:59 +0000 (15:50 +0000)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sun, 14 Sep 2008 15:50:59 +0000 (15:50 +0000)
commit0605f5c86bb54f51d9f0cfd728a92bc2f6982449
treeb08bc6e60df2c65690082355fbec8b106c1407a8
parent8840ce92f7b75fcdfe87278bf12433e2bea4d777
Return error when trying to decode non-grayscale 16-bit PNM images.
Fixes issue 566.

Originally committed as revision 15321 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/pnm.c