Clear out an unused field in the created AVI file. This helps make
authorPhilip Gladstone <philipjsg@users.sourceforge.net>
Sat, 12 Apr 2003 03:04:08 +0000 (03:04 +0000)
committerPhilip Gladstone <philipjsg@users.sourceforge.net>
Sat, 12 Apr 2003 03:04:08 +0000 (03:04 +0000)
the MD5 checksums *much* more predictable!!

Originally committed as revision 1762 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/avienc.c

index 5ab5bfd..77dccac 100644 (file)
@@ -378,7 +378,8 @@ static int avi_write_header(AVFormatContext *s)
     put_tag(pb, "odml");
     put_tag(pb, "dmlh");
     put_le32(pb, 248);
-    url_fskip(pb, 248);
+    for (i = 0; i < 248; i+= 4)
+        put_le32(pb, 0);
     end_tag(pb, avi->odml_list);
 
     end_tag(pb, list1);