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

Unified Diff: chromium/patches/to_upstream/43_mkv_seekahead_revalidate.patch

Issue 9290059: Initial commit of all previous Chrome build scripts. (Closed) Base URL: http://git.chromium.org/chromium/third_party/ffmpeg.git@master
Patch Set: Drop deprecated subfolder. Created 8 years, 11 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: chromium/patches/to_upstream/43_mkv_seekahead_revalidate.patch
diff --git a/chromium/patches/to_upstream/43_mkv_seekahead_revalidate.patch b/chromium/patches/to_upstream/43_mkv_seekahead_revalidate.patch
new file mode 100644
index 0000000000000000000000000000000000000000..6e59f281e8d920ef719dde10b28c6da114198be3
--- /dev/null
+++ b/chromium/patches/to_upstream/43_mkv_seekahead_revalidate.patch
@@ -0,0 +1,19 @@
+diff -wurp -N orig/libavformat/matroskadec.c patched-ffmpeg/libavformat/matroskadec.c
+--- orig/libavformat/matroskadec.c 2011-10-20 11:28:27.935337424 -0700
++++ patched-ffmpeg/libavformat/matroskadec.c 2011-10-20 11:32:03.845401593 -0700
+@@ -1241,7 +1241,6 @@ static int matroska_parse_seekhead_entry
+ static void matroska_execute_seekhead(MatroskaDemuxContext *matroska)
+ {
+ EbmlList *seekhead_list = &matroska->seekhead;
+- MatroskaSeekhead *seekhead = seekhead_list->elem;
+ int64_t before_pos = avio_tell(matroska->ctx->pb);
+ int i;
+
+@@ -1251,6 +1250,7 @@ static void matroska_execute_seekhead(Ma
+ return;
+
+ for (i = 0; i < seekhead_list->nb_elem; i++) {
++ MatroskaSeekhead *seekhead = seekhead_list->elem;
+ if (seekhead[i].pos <= before_pos)
+ continue;
+

Powered by Google App Engine
This is Rietveld 408576698