summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-08-01 13:43:24 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-08-01 13:43:24 +0000
commit986c2ccb198135c59341751a1ae554065df5e363 (patch)
treea3a97675d81d545fbe81490f8054a36cff67da43 /libavformat
parent907a051009d02b6b219558f9802d8b6cbf00f24a (diff)
add some useful debug info
Originally committed as revision 5881 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mov.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 5375a1cde6..bba84d40dc 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -586,6 +586,7 @@ static int mov_read_esds(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
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 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
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 ? */