Add a context to av_log() call.
authorBenoit Fouet <benoit.fouet@free.fr>
Mon, 16 Feb 2009 16:09:58 +0000 (16:09 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Mon, 16 Feb 2009 16:09:58 +0000 (16:09 +0000)
Originally committed as revision 17376 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/raw.c

index baaea43..9ddd55f 100644 (file)
@@ -229,7 +229,7 @@ static int ingenient_read_packet(AVFormatContext *s, AVPacket *pkt)
     unk2 = get_le16(s->pb);
     url_fskip(s->pb, 22); // ASCII timestamp
 
-    av_log(NULL, AV_LOG_DEBUG, "Ingenient packet: size=%d, width=%d, height=%d, unk1=%d unk2=%d\n",
+    av_log(s, AV_LOG_DEBUG, "Ingenient packet: size=%d, width=%d, height=%d, unk1=%d unk2=%d\n",
         size, w, h, unk1, unk2);
 
     if (av_new_packet(pkt, size) < 0)