[SCM] libav/experimental: Clear out an unused field in the created AVI file. This helps make the MD5 checksums *much* more predictable!!
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:35:56 UTC 2013
The following commit has been merged in the experimental branch:
commit d86852d11cb1b30745c2ba72890be0779c6ad781
Author: Philip Gladstone <philipjsg at users.sourceforge.net>
Date: Sat Apr 12 03:04:08 2003 +0000
Clear out an unused field in the created AVI file. This helps make
the MD5 checksums *much* more predictable!!
Originally committed as revision 1762 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/avienc.c b/libavformat/avienc.c
index 5ab5bfd..77dccac 100644
--- a/libavformat/avienc.c
+++ b/libavformat/avienc.c
@@ -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);
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list