diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-05-15 07:41:23 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-05-15 07:41:23 +0200 |
commit | e013abed63f8d05aa2a7d5599d05fa038340aed1 (patch) | |
tree | 1e8df5da5c9c2eccd5da36fa2fdbffb6ac7755d7 /libavformat/mov.c | |
parent | c457a29ece8c20d25da2eb47d4eecda0b492e4fa (diff) | |
download | ffmpeg-e013abed63f8d05aa2a7d5599d05fa038340aed1.tar.gz |
Read and write APRG mov atom to allow AVUI streamcopy.
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 9a2a59f36c..08360fab13 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1006,6 +1006,11 @@ static int mov_read_jp2h(MOVContext *c, AVIOContext *pb, MOVAtom atom) return mov_read_extradata(c, pb, atom, CODEC_ID_JPEG2000); } +static int mov_read_aprg(MOVContext *c, AVIOContext *pb, MOVAtom atom) +{ + return mov_read_extradata(c, pb, atom, CODEC_ID_AVUI); +} + static int mov_read_wave(MOVContext *c, AVIOContext *pb, MOVAtom atom) { AVStream *st; @@ -2585,6 +2590,7 @@ static int mov_read_chan2(MOVContext *c, AVIOContext *pb, MOVAtom atom) } static const MOVParseTableEntry mov_default_parse_table[] = { +{ MKTAG('A','P','R','G'), mov_read_aprg }, { MKTAG('a','v','s','s'), mov_read_avss }, { MKTAG('c','h','p','l'), mov_read_chpl }, { MKTAG('c','o','6','4'), mov_read_stco }, |