decrease atom size, fix broken files missing version/flags

Originally committed as revision 15872 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2008-11-18 09:09:57 +00:00
parent a45bdbc4f5
commit 12e416c848

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);
}