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; |