[Mplayer-cvslog] CVS: main/libmpdemux demux_realaud.c,1.1,1.2

Roberto Togni CVS rtognimp at mplayerhq.hu
Wed Apr 30 22:17:59 CEST 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv1356

Modified Files:
	demux_realaud.c 
Log Message:
Remove broker reset/seek and fix ;;

Index: demux_realaud.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_realaud.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- demux_realaud.c	30 Apr 2003 19:54:54 -0000	1.1
+++ demux_realaud.c	30 Apr 2003 20:17:35 -0000	1.2
@@ -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);



More information about the MPlayer-cvslog mailing list