[Ffmpeg-cvslog] r5881 - trunk/libavformat/mov.c

bcoudurier subversion
Tue Aug 1 15:43:24 CEST 2006


Author: bcoudurier
Date: Tue Aug  1 15:43:24 2006
New Revision: 5881

Modified:
   trunk/libavformat/mov.c

Log:
add some useful debug info

Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c	(original)
+++ trunk/libavformat/mov.c	Tue Aug  1 15:43:24 2006
@@ -586,6 +586,7 @@
         sc->esds.avg_bitrate = get_be32(pb);
 
         st->codec->codec_id= codec_get_id(ff_mov_obj_type, sc->esds.object_type_id);
+        dprintf("esds object type id %d\n", sc->esds.object_type_id);
         len = mov_mp4_read_descr(pb, &tag);
         if (tag == MP4DecSpecificDescrTag) {
             dprintf("Specific MPEG4 header len=%d\n", len);
@@ -1056,6 +1057,7 @@
             get_be32(pb); /* vendor */
 
             st->codec->channels = get_be16(pb);             /* channel count */
+            dprintf("audio channels %d\n", st->codec->channels);
             st->codec->bits_per_sample = get_be16(pb);      /* sample size */
             /* do we need to force to 16 for AMR ? */
 




More information about the ffmpeg-cvslog mailing list