changeset 22094:e2d1bb1d2c6b

demux_mpg_probe() seek to the initial position before returning - patch by reimar
author nicodvb
date Sat, 03 Feb 2007 14:09:47 +0000
parents e897903bc8ec
children de6a50c1cfe8
files libmpdemux/demux_mpg.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mpg.c	Sat Feb 03 14:02:09 2007 +0000
+++ b/libmpdemux/demux_mpg.c	Sat Feb 03 14:09:47 2007 +0000
@@ -673,6 +673,8 @@
             mp_msg(MSGT_DEMUXER,MSGL_V,MSGTR_NotSystemStream);
         }
   }
+  //FIXME this shouldn't be necessary
+  stream_seek(demuxer->stream,tmppos);
   return file_format;
 }