diff matroskadec.c @ 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 b0ab5575a1bc
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;
 }