diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-01-11 12:11:36 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-01-11 12:15:03 +0100 |
commit | a5334d408148f20e0680f65daa3aff837c5f5db5 (patch) | |
tree | 90ef39b498b9490100b006e0636ad078b4e5a410 /libavformat/mov.c | |
parent | aa6545e1f30e6f0aa7ad7498f524190b978b4e02 (diff) | |
download | ffmpeg-a5334d408148f20e0680f65daa3aff837c5f5db5.tar.gz |
Handle r10k endianess atom DpxE.
Fixes playback and remuxing of r10k_full-range_big-endian.mov.
Reported, analyzed and tested by Olaf Matthes, olaf matthes gmx de
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 19ec11f968..3dee572038 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1114,6 +1114,11 @@ static int mov_read_jp2h(MOVContext *c, AVIOContext *pb, MOVAtom atom) return mov_read_extradata(c, pb, atom, AV_CODEC_ID_JPEG2000); } +static int mov_read_dpxe(MOVContext *c, AVIOContext *pb, MOVAtom atom) +{ + return mov_read_extradata(c, pb, atom, AV_CODEC_ID_R10K); +} + static int mov_read_avid(MOVContext *c, AVIOContext *pb, MOVAtom atom) { int ret = mov_read_extradata(c, pb, atom, AV_CODEC_ID_AVUI); @@ -3363,6 +3368,7 @@ static const MOVParseTableEntry mov_default_parse_table[] = { { MKTAG('c','o','l','r'), mov_read_colr }, { MKTAG('c','t','t','s'), mov_read_ctts }, /* composition time to sample */ { MKTAG('d','i','n','f'), mov_read_default }, +{ MKTAG('D','p','x','E'), mov_read_dpxe }, { MKTAG('d','r','e','f'), mov_read_dref }, { MKTAG('e','d','t','s'), mov_read_default }, { MKTAG('e','l','s','t'), mov_read_elst }, |