[FFmpeg-soc] [soc]: r5154 - spdif/spdif.c

bwolowiec subversion at mplayerhq.hu
Mon Aug 17 10:51:09 CEST 2009


Author: bwolowiec
Date: Mon Aug 17 10:51:09 2009
New Revision: 5154

Log:
Improve debug output.

Modified:
   spdif/spdif.c

Modified: spdif/spdif.c
==============================================================================
--- spdif/spdif.c	Sun Aug 16 21:45:53 2009	(r5153)
+++ spdif/spdif.c	Mon Aug 17 10:51:09 2009	(r5154)
@@ -112,11 +112,10 @@ static int spdif_header_dts(AVFormatCont
             (((pkt->data[4] & 0x07) << 4) | ((pkt->data[7] & 0x3f) >> 2));
         break;
     default:
-        av_log(s, AV_LOG_ERROR, "bad DTS syncword\n");
+        av_log(s, AV_LOG_ERROR, "bad DTS syncword 0x%x\n", syncword_dts);
         return -1;
     }
     blocks++;
-    av_log(s, AV_LOG_DEBUG, "blocks=%i\n", blocks);
     switch (blocks) {
     case 512 >> 5:
         ctx->data_type = IEC958_DTS1;


More information about the FFmpeg-soc mailing list