changeset 8203:3b90f93d97a6 libavcodec

Give more meaningful message on BMP header parsing error
author kostya
date Mon, 24 Nov 2008 10:58:32 +0000
parents 5af44bd71254
children 507854688c43
files bmp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bmp.c	Mon Nov 24 10:53:13 2008 +0000
+++ b/bmp.c	Mon Nov 24 10:58:32 2008 +0000
@@ -74,7 +74,7 @@
 
     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;
     }