OLD | NEW |
(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 |
OLD | NEW |