]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Add a context to av_log() call.
authorbenoit <benoit@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 16 Feb 2009 14:45:05 +0000 (14:45 +0000)
committerbenoit <benoit@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 16 Feb 2009 14:45:05 +0000 (14:45 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17373 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavformat/sierravmd.c

index 068694f7048632073cd6ee9cc864b6bb29d1ec45..52f05826d503a2bedf1d560f1925d09d240f7207 100644 (file)
@@ -254,7 +254,7 @@ static int vmd_read_packet(AVFormatContext *s,
     }
     pkt->stream_index = frame->stream_index;
     pkt->pts = frame->pts;
-    av_log(NULL, AV_LOG_DEBUG, " dispatching %s frame with %d bytes and pts %"PRId64"\n",
+    av_log(s, AV_LOG_DEBUG, " dispatching %s frame with %d bytes and pts %"PRId64"\n",
             (frame->frame_record[0] == 0x02) ? "video" : "audio",
             frame->frame_size + BYTES_PER_FRAME_RECORD,
             pkt->pts);