Make avcodec_check_dimensions() return AVERROR(EINVAL) rather than -1
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 25 Apr 2010 15:05:16 +0000 (15:05 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 25 Apr 2010 15:05:16 +0000 (15:05 +0000)
commit4cf1ba0445a2b288f0ca47e36d780dec4d7d4e87
treef29863a685d005db345dedc1ea5cd663d6e4f3a3
parent2ef6c1242aeebf863b86f34229490a023bfe65dc
Make avcodec_check_dimensions() return AVERROR(EINVAL) rather than -1
in case of invalid picture size.

Originally committed as revision 22962 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/utils.c