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

Unified Diff: source/patched-ffmpeg/libavformat/matroskadec.c

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « patches/to_upstream/43_mkv_seekahead_revalidate.patch ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/patched-ffmpeg/libavformat/matroskadec.c
===================================================================
--- source/patched-ffmpeg/libavformat/matroskadec.c (revision 106517)
+++ source/patched-ffmpeg/libavformat/matroskadec.c (working copy)
@@ -1241,7 +1241,6 @@
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 @@
return;
for (i = 0; i < seekhead_list->nb_elem; i++) {
+ MatroskaSeekhead *seekhead = seekhead_list->elem;
if (seekhead[i].pos <= before_pos)
continue;
« no previous file with comments | « patches/to_upstream/43_mkv_seekahead_revalidate.patch ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698