Browse Source

decrease atom size, fix broken files missing version/flags

Originally committed as revision 15872 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Baptiste Coudurier 17 years ago
parent
commit
12e416c848
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavformat/mov.c

+ 2
- 1
libavformat/mov.c View File

@@ -1378,7 +1378,8 @@ static int mov_read_ilst(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)

static int mov_read_meta(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
{
url_fskip(pb, 4);
url_fskip(pb, 4); // version + flags
atom.size -= 4;
return mov_read_default(c, pb, atom);
}



Loading…
Cancel
Save