Browse Source

Do not fail fatally if chan atom is too short.

tags/n0.9
Carl Eugen Hoyos 14 years ago
parent
commit
a448a5d1c4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mov.c

+ 1
- 1
libavformat/mov.c 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;


Loading…
Cancel
Save