aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2011-08-24 16:59:30 -0700
committerAlex Converse <alex.converse@gmail.com>2011-08-25 11:53:21 -0700
commitad6c7c1b525c7ae365491b4fef7869d31ee88329 (patch)
treeec0e580b4d5657d1ca4d98e3537eb27941c4a6fc /libavformat/mov.c
parentd4b9974465baf893e90527a366e7a7411ded1ef8 (diff)
downloadffmpeg-ad6c7c1b525c7ae365491b4fef7869d31ee88329.tar.gz
mp4: Handle non-trivial ES Descriptors.
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 92b1b14f15..35cd9a880b 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -473,8 +473,7 @@ int ff_mov_read_esds(AVFormatContext *fc, AVIOContext *pb, MOVAtom atom)
avio_rb32(pb); /* version + flags */
ff_mp4_read_descr(fc, pb, &tag);
if (tag == MP4ESDescrTag) {
- avio_rb16(pb); /* ID */
- avio_r8(pb); /* priority */
+ ff_mp4_parse_es_descr(pb, NULL);
} else
avio_rb16(pb); /* ID */