changeset 4507:a256f0daadac libavformat

Add a context to av_log() call.
author benoit
date Mon, 16 Feb 2009 14:45:05 +0000
parents dfb8f047b552
children 99c3000c9482
files sierravmd.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sierravmd.c	Mon Feb 16 14:44:31 2009 +0000
+++ b/sierravmd.c	Mon Feb 16 14:45:05 2009 +0000
@@ -254,7 +254,7 @@
     }
     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);