diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2008-11-24 10:58:32 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2008-11-24 10:58:32 +0000 |
commit | e282307b21b25a62a5b814e3848fe8a002565bb0 (patch) | |
tree | 29c175328caab64575799ddb0acf8b9fa76975c2 /libavcodec/bmp.c | |
parent | 4a14e666056e430298616b5d5ffa8c57cf609465 (diff) | |
download | ffmpeg-e282307b21b25a62a5b814e3848fe8a002565bb0.tar.gz |
Give more meaningful message on BMP header parsing error
Originally committed as revision 15923 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/bmp.c')
-rw-r--r-- | libavcodec/bmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bmp.c b/libavcodec/bmp.c index f4205c9973..23837bd15a 100644 --- a/libavcodec/bmp.c +++ b/libavcodec/bmp.c @@ -74,7 +74,7 @@ static int bmp_decode_frame(AVCodecContext *avctx, hsize = bytestream_get_le32(&buf); /* header size */ if(fsize <= hsize){ - av_log(avctx, AV_LOG_ERROR, "not enough data (%d < %d)\n", + av_log(avctx, AV_LOG_ERROR, "declared file size is less than header size (%d < %d)\n", fsize, hsize); return -1; } |