avformat/mov: Support reading Avid's metadata for DNXHD codec.
The AALP atom is necessary to properly decode the alpha channel. Needed for ticket #3707 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
f73d75384f
commit
d1e750cd51
@@ -1007,7 +1007,10 @@ static int mov_read_jp2h(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
|||||||
|
|
||||||
static int mov_read_avid(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
static int mov_read_avid(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
||||||
{
|
{
|
||||||
return mov_read_extradata(c, pb, atom, AV_CODEC_ID_AVUI);
|
int ret = mov_read_extradata(c, pb, atom, AV_CODEC_ID_AVUI);
|
||||||
|
if(ret == 0)
|
||||||
|
ret = mov_read_extradata(c, pb, atom, AV_CODEC_ID_DNXHD);
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int mov_read_targa_y216(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
static int mov_read_targa_y216(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
||||||
|
Reference in New Issue
Block a user