[FFmpeg-soc] [soc]: r3822 - dirac/libavcodec/dirac.c

conrad subversion at mplayerhq.hu
Tue Nov 11 09:38:27 CET 2008


Author: conrad
Date: Tue Nov 11 09:38:27 2008
New Revision: 3822

Log:
Convert dprintf in parse_sequence_header to av_log


Modified:
   dirac/libavcodec/dirac.c

Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c	(original)
+++ dirac/libavcodec/dirac.c	Tue Nov 11 09:38:27 2008
@@ -343,12 +343,13 @@ int ff_dirac_parse_sequence_header(GetBi
 
     avctx->profile = svq3_get_ue_golomb(gb);
     avctx->level   = svq3_get_ue_golomb(gb);
-    dprintf(s->avctx, "Access unit header: Version %d.%d\n",
+    av_log(avctx, AV_LOG_DEBUG, "Sequence header: Version %d.%d\n",
             version_major, version_minor);
-    dprintf(s->avctx, "Profile: %d, Level: %d\n", s->profile, s->level);
+    av_log(avctx, AV_LOG_DEBUG, " Profile: %d, Level: %d\n",
+           avctx->profile, avctx->level);
 
     video_format = svq3_get_ue_golomb(gb);
-    dprintf(s->avctx, "Video format: %d\n", video_format);
+    av_log(avctx, AV_LOG_DEBUG, " Video format: %d\n", video_format);
 
     if (video_format > 20)
         return -1;



More information about the FFmpeg-soc mailing list