[FFmpeg-cvslog] r17775 - trunk/libavformat/txd.c

benoit subversion
Tue Mar 3 17:19:37 CET 2009


Author: benoit
Date: Tue Mar  3 17:19:37 2009
New Revision: 17775

Log:
Add a context to av_log() calls.

Modified:
   trunk/libavformat/txd.c

Modified: trunk/libavformat/txd.c
==============================================================================
--- trunk/libavformat/txd.c	Tue Mar  3 17:09:19 2009	(r17774)
+++ trunk/libavformat/txd.c	Tue Mar  3 17:19:37 2009	(r17775)
@@ -64,7 +64,7 @@ next_chunk:
     if (url_feof(s->pb))
         return AVERROR(EIO);
     if (marker != TXD_MARKER && marker != TXD_MARKER2) {
-        av_log(NULL, AV_LOG_ERROR, "marker does not match\n");
+        av_log(s, AV_LOG_ERROR, "marker does not match\n");
         return AVERROR(EIO);
     }
 
@@ -78,7 +78,7 @@ next_chunk:
         case TXD_TEXTURE:
             goto next_chunk;
         default:
-            av_log(NULL, AV_LOG_ERROR, "unknown chunk id %i\n", id);
+            av_log(s, AV_LOG_ERROR, "unknown chunk id %i\n", id);
             return AVERROR(EIO);
     }
 




More information about the ffmpeg-cvslog mailing list