forked from FFmpeg/FFmpeg
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:
parent
a45bdbc4f5
commit
12e416c848
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
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);
|
return mov_read_default(c, pb, atom);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue