OSDN Git Service

Add a context to av_log() call and update the trace not to be redundant.
authorBenoit Fouet <benoit.fouet@free.fr>
Mon, 16 Feb 2009 16:27:08 +0000 (16:27 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Mon, 16 Feb 2009 16:27:08 +0000 (16:27 +0000)
Originally committed as revision 17380 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mm.c

index b72c259..6c621ab 100644 (file)
@@ -168,7 +168,7 @@ static int mm_read_packet(AVFormatContext *s,
             return 0;
 
         default :
-            av_log(NULL, AV_LOG_INFO, "mm: unknown chunk type 0x%x\n", type);
+            av_log(s, AV_LOG_INFO, "unknown chunk type 0x%x\n", type);
             url_fseek(pb, length, SEEK_CUR);
         }
     }