mirror of https://git.ffmpeg.org/ffmpeg.git
Do not fail fatally if chan atom is too short.
This commit is contained in:
parent
4547d883d3
commit
a448a5d1c4
|
@ -2341,7 +2341,7 @@ static int mov_read_elst(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
|||
static int mov_read_chan(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
||||
{
|
||||
if (atom.size < 16)
|
||||
return AVERROR_INVALIDDATA;
|
||||
return 0;
|
||||
avio_skip(pb, 4);
|
||||
ff_mov_read_chan(c->fc, atom.size - 4, c->fc->streams[0]->codec);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue