changeset 4044:5d5238798d59 libavformat

decrease atom size, fix broken files missing version/flags
author bcoudurier
date Tue, 18 Nov 2008 09:09:57 +0000
parents 6eb27e4e1e83
children 7326e083a8e2
files mov.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mov.c	Tue Nov 18 03:49:33 2008 +0000
+++ b/mov.c	Tue Nov 18 09:09:57 2008 +0000
@@ -1378,7 +1378,8 @@
 
 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);
 }