# HG changeset patch # User rtognimp # Date 1102809576 0 # Node ID 1fcb18e39ef9d3339fcc03d526102ec7727f4a64 # Parent 9e3c885b72bedbab4042c573025fb168a4ce03d0 Fix streaming if not mlti_data (for some non-multirate streams) Also closes bug #151 diff -r 9e3c885b72be -r 1fcb18e39ef9 libmpdemux/realrtsp/real.c --- 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(