1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-11 08:37:59 +00:00

Fix streaming if not mlti_data (for some non-multirate streams)

Also closes bug #151


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14145 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rtognimp 2004-12-11 23:59:36 +00:00
parent 53edbf42c4
commit a328d9ff57

View File

@ -542,8 +542,10 @@ rmff_header_t *real_parse_sdp(char *data, char **stream_rules, uint32_t bandwidt
*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(