Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: patches/to_upstream/02_mov_dref_looping.patch

Issue 789004: ffmpeg roll of source to mar 9 version... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: patches/to_upstream/02_mov_dref_looping.patch
===================================================================
--- patches/to_upstream/02_mov_dref_looping.patch (revision 41250)
+++ patches/to_upstream/02_mov_dref_looping.patch (working copy)
@@ -1,14 +1,14 @@
-Index: patched-ffmpeg-mt/libavformat/mov.c
-===================================================================
---- patched-ffmpeg-mt/libavformat/mov.c (revision 39607)
-+++ patched-ffmpeg-mt/libavformat/mov.c (working copy)
-@@ -269,6 +269,8 @@
+Only in unpatched_ffmpeg-mt: ffmpeg-mt
+diff -rpu unpatched_ffmpeg-mt/libavformat/mov.c ffmpeg-mt/libavformat/mov.c
+--- unpatched_ffmpeg-mt/libavformat/mov.c 2010-03-11 17:46:31 -0800
++++ ffmpeg-mt/libavformat/mov.c 2010-03-11 19:08:40 -0800
+@@ -312,6 +312,8 @@ static int mov_read_dref(MOVContext *c,
MOVDref *dref = &sc->drefs[i];
uint32_t size = get_be32(pb);
int64_t next = url_ftell(pb) + size - 4;
+ if (size < 8)
+ return -1;
-
+
dref->type = get_le32(pb);
get_be32(pb); // version + flags
-
+Only in ffmpeg-mt/libavformat: mov.c~

Powered by Google App Engine
This is Rietveld 408576698