diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2011-01-29 17:46:18 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2011-01-29 23:55:37 +0100 |
commit | dfd2a005eb29e4b9f2fdb97036eb7d5c38ae4bd4 (patch) | |
tree | 21b297b37ea12443540479d44fadbc1a54f32f00 /libavformat/isom.c | |
parent | 243f8241dbf4a451e1197661ccd387c519ae3349 (diff) | |
download | ffmpeg-dfd2a005eb29e4b9f2fdb97036eb7d5c38ae4bd4.tar.gz |
Replace dprintf with av_dlog
dprintf clashes with POSIX.1-2008
Diffstat (limited to 'libavformat/isom.c')
-rw-r--r-- | libavformat/isom.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/isom.c b/libavformat/isom.c index bf0140103a..23ef82a1ce 100644 --- a/libavformat/isom.c +++ b/libavformat/isom.c @@ -350,7 +350,7 @@ int ff_mp4_read_descr(AVFormatContext *fc, ByteIOContext *pb, int *tag) int len; *tag = get_byte(pb); len = ff_mp4_read_descr_len(pb); - dprintf(fc, "MPEG4 description: tag=0x%02x len=%d\n", *tag, len); + av_dlog(fc, "MPEG4 description: tag=0x%02x len=%d\n", *tag, len); return len; } @@ -373,10 +373,10 @@ int ff_mp4_read_dec_config_descr(AVFormatContext *fc, AVStream *st, ByteIOContex get_be32(pb); /* avg bitrate */ st->codec->codec_id= ff_codec_get_id(ff_mp4_obj_type, object_type_id); - dprintf(fc, "esds object type id 0x%02x\n", object_type_id); + av_dlog(fc, "esds object type id 0x%02x\n", object_type_id); len = ff_mp4_read_descr(fc, pb, &tag); if (tag == MP4DecSpecificDescrTag) { - dprintf(fc, "Specific MPEG4 header len=%d\n", len); + av_dlog(fc, "Specific MPEG4 header len=%d\n", len); if((uint64_t)len > (1<<30)) return -1; av_free(st->codec->extradata); @@ -396,7 +396,7 @@ int ff_mp4_read_dec_config_descr(AVFormatContext *fc, AVStream *st, ByteIOContex st->codec->sample_rate = cfg.ext_sample_rate; else st->codec->sample_rate = cfg.sample_rate; - dprintf(fc, "mp4a config channels %d obj %d ext obj %d " + av_dlog(fc, "mp4a config channels %d obj %d ext obj %d " "sample rate %d ext sample rate %d\n", st->codec->channels, cfg.object_type, cfg.ext_object_type, cfg.sample_rate, cfg.ext_sample_rate); |