[MPlayer-cvslog] CVS: main/libmpdemux/realrtsp real.c,1.9,1.10

Roberto Togni CVS syncmail at mplayerhq.hu
Sun Dec 12 00:59:38 CET 2004


CVS change done by Roberto Togni CVS

Update of /cvsroot/mplayer/main/libmpdemux/realrtsp
In directory mail:/var2/tmp/cvs-serv4250

Modified Files:
	real.c 
Log Message:
Fix streaming if not mlti_data (for some non-multirate streams)
Also closes bug #151


Index: real.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/realrtsp/real.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- real.c	18 Oct 2004 20:08:12 -0000	1.9
+++ real.c	11 Dec 2004 23:59:36 -0000	1.10
@@ -542,8 +542,10 @@
       *stream_rules = xbuffer_strcat(*stream_rules, b);
     }
 
-    if (!desc->stream[i]->mlti_data) return NULL;
-
+    if (!desc->stream[i]->mlti_data) {
+	len = 0;
+	buf = NULL;
+    } else
     len=select_mlti_data(desc->stream[i]->mlti_data, desc->stream[i]->mlti_data_size, rulematches[0], &buf);
     
     header->streams[i]=rmff_new_mdpr(




More information about the MPlayer-cvslog mailing list