changeset 3775:f4eb5cc927f9 libavformat

matroskadec: unset matroska->done when seeking just in case someone try to seek back after reaching the end of file
author aurel
date Mon, 25 Aug 2008 00:17:31 +0000
parents fa5cc40e0164
children 8329c0373f69
files matroskadec.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/matroskadec.c	Mon Aug 25 00:15:49 2008 +0000
+++ b/matroskadec.c	Mon Aug 25 00:17:31 2008 +0000
@@ -1670,6 +1670,7 @@
     url_fseek(s->pb, st->index_entries[index].pos, SEEK_SET);
     matroska->skip_to_keyframe = !(flags & AVSEEK_FLAG_ANY);
     matroska->skip_to_stream = st;
+    matroska->done = 0;
     av_update_cur_dts(s, st, st->index_entries[index].timestamp);
     return 0;
 }