Fix a crash when reading gray pam files.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Wed, 28 Dec 2011 04:59:39 +0000 (05:59 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Wed, 28 Dec 2011 04:59:39 +0000 (05:59 +0100)
commit190a0998c353879c8f79f47678752dbb8fa62bb2
tree993a488269c2db8167219bddd49ebff2f541af1b
parentc1bc1967f30e2e9ac0ffecbc4aadad873c1b586c
Fix a crash when reading gray pam files.

Fixes ticket #837.
libavcodec/pnm.c