summaryrefslogtreecommitdiff
path: root/libavcodec/bmp.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2008-11-24 10:58:32 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2008-11-24 10:58:32 +0000
commite282307b21b25a62a5b814e3848fe8a002565bb0 (patch)
tree29c175328caab64575799ddb0acf8b9fa76975c2 /libavcodec/bmp.c
parent4a14e666056e430298616b5d5ffa8c57cf609465 (diff)
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.c2
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;
}