changeset 4602:f1a4622fc4e1 libavformat

Add a context to av_log() call.
author benoit
date Fri, 27 Feb 2009 08:31:20 +0000
parents 06b665831f43
children 04f857454909
files mov.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mov.c	Fri Feb 27 08:02:34 2009 +0000
+++ b/mov.c	Fri Feb 27 08:31:20 2009 +0000
@@ -1732,7 +1732,7 @@
     if (get_le32(pb) != MKTAG('d','c','o','m'))
         return -1;
     if (get_le32(pb) != MKTAG('z','l','i','b')) {
-        av_log(NULL, AV_LOG_ERROR, "unknown compression for cmov atom !");
+        av_log(c->fc, AV_LOG_ERROR, "unknown compression for cmov atom !");
         return -1;
     }
     get_be32(pb); /* cmvd atom */