[Ffmpeg-cvslog] r6878 - trunk/libavcodec/targa.c

kostya subversion
Fri Nov 3 05:42:11 CET 2006


Author: kostya
Date: Fri Nov  3 05:42:11 2006
New Revision: 6878

Modified:
   trunk/libavcodec/targa.c

Log:
Use bpp from header in error message

Modified: trunk/libavcodec/targa.c
==============================================================================
--- trunk/libavcodec/targa.c	(original)
+++ trunk/libavcodec/targa.c	Fri Nov  3 05:42:11 2006
@@ -129,7 +129,7 @@
         avctx->pix_fmt = PIX_FMT_BGR24;
         break;
     default:
-        av_log(avctx, AV_LOG_ERROR, "Bit depth %i is not supported\n", avctx->bits_per_sample);
+        av_log(avctx, AV_LOG_ERROR, "Bit depth %i is not supported\n", s->bpp);
         return -1;
     }
 




More information about the ffmpeg-cvslog mailing list