decrease atom size, fix broken files missing version/flags

Originally committed as revision 15872 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Baptiste Coudurier 16 years ago
parent a45bdbc4f5
commit 12e416c848
  1. 3
      libavformat/mov.c

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