Add graceful error handling to avcodec_get_pix_fmt_name() and avcodec_get_pix_fmt().
authorPeter Ross <pross@xvid.org>
Sun, 3 Aug 2008 00:41:31 +0000 (00:41 +0000)
committerPeter Ross <pross@xvid.org>
Sun, 3 Aug 2008 00:41:31 +0000 (00:41 +0000)
commit42a45a03e79ca235ac4391d7570f5fc9163688e4
treea7f9e5aa6f6c7c298d9781ad56cacf36a41d6fde
parenta79db0f7c47701d46ec864b6b2dfeea03160a106
Add graceful error handling to avcodec_get_pix_fmt_name() and avcodec_get_pix_fmt().

Originally committed as revision 14513 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/imgconvert.c