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

Side by Side Diff: patches/to_upstream/43_mkv_seekahead_revalidate.patch

Issue 8366004: Fix a bug where a pointer was cached to an array that might later move due to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: '' Created 9 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « patches/README ('k') | source/patched-ffmpeg/libavformat/matroskadec.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 diff -wurp -N orig/libavformat/matroskadec.c patched-ffmpeg/libavformat/matroska dec.c
2 --- orig/libavformat/matroskadec.c 2011-10-20 11:28:27.935337424 -0700
3 +++ patched-ffmpeg/libavformat/matroskadec.c 2011-10-20 11:32:03.845401593 -0 700
4 @@ -1241,7 +1241,6 @@ static int matroska_parse_seekhead_entry
5 static void matroska_execute_seekhead(MatroskaDemuxContext *matroska)
6 {
7 EbmlList *seekhead_list = &matroska->seekhead;
8 - MatroskaSeekhead *seekhead = seekhead_list->elem;
9 int64_t before_pos = avio_tell(matroska->ctx->pb);
10 int i;
11
12 @@ -1251,6 +1250,7 @@ static void matroska_execute_seekhead(Ma
13 return;
14
15 for (i = 0; i < seekhead_list->nb_elem; i++) {
16 + MatroskaSeekhead *seekhead = seekhead_list->elem;
17 if (seekhead[i].pos <= before_pos)
18 continue;
19
OLDNEW
« no previous file with comments | « patches/README ('k') | source/patched-ffmpeg/libavformat/matroskadec.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698