Do not fail fatally if chan atom is too short.

This commit is contained in:
Carl Eugen Hoyos 2011-12-06 00:16:22 +01:00
parent 4547d883d3
commit a448a5d1c4
1 changed files with 1 additions and 1 deletions

View File

@ -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;