changeset 4510:6d77b56e2b0e libavformat

Add a context to av_log() call.
author benoit
date Mon, 16 Feb 2009 16:09:58 +0000
parents 8ec95cf6deb9
children e6caa2faebb3
files raw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/raw.c	Mon Feb 16 16:09:34 2009 +0000
+++ b/raw.c	Mon Feb 16 16:09:58 2009 +0000
@@ -229,7 +229,7 @@
     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)