diff libmpdemux/realrtsp/real.c @ 14144:1fcb18e39ef9

Fix streaming if not mlti_data (for some non-multirate streams) Also closes bug #151
author rtognimp
date Sat, 11 Dec 2004 23:59:36 +0000
parents 929af3b49c8e
children 88a58f2dda55
line wrap: on
line diff
--- a/libmpdemux/realrtsp/real.c	Sat Dec 11 17:02:45 2004 +0000
+++ b/libmpdemux/realrtsp/real.c	Sat Dec 11 23:59:36 2004 +0000
@@ -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(