changeset 10035:d4ecf93e236a

Remove broker reset/seek and fix ;;
author rtognimp
date Wed, 30 Apr 2003 20:17:35 +0000
parents 4f434f04b5bf
children 1dfe4dab4a42
files libmpdemux/demux_realaud.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_realaud.c	Wed Apr 30 19:54:54 2003 +0000
+++ b/libmpdemux/demux_realaud.c	Wed Apr 30 20:17:35 2003 +0000
@@ -44,9 +44,6 @@
 {
 	unsigned int chunk_id;
   
-  stream_reset(demuxer->stream);
-  stream_seek(demuxer->stream, 0);
-
 	chunk_id = stream_read_dword_le(demuxer->stream);
 	if (chunk_id == FOURCC_DOTRA)
 		return 1;
@@ -92,7 +89,7 @@
 			ptr += 2;
 		}
 	}
-	dp->pts = demuxer->filepos / ra_priv->data_size;;
+	dp->pts = demuxer->filepos / ra_priv->data_size;
 	dp->pos = demuxer->filepos;
 	dp->flags = 0;
 	ds_add_packet(ds, dp);