Mercurial > mplayer.hg
diff libmpdemux/asf_streaming.c @ 14639:cb261c423a06
fix for streams that do not send a bitrate
author | reimar |
---|---|
date | Thu, 03 Feb 2005 20:13:44 +0000 |
parents | 47dc1d9c350d |
children | 281d155fb37f |
line wrap: on
line diff
--- a/libmpdemux/asf_streaming.c Thu Feb 03 17:35:49 2005 +0000 +++ b/libmpdemux/asf_streaming.c Thu Feb 03 20:13:44 2005 +0000 @@ -153,7 +153,7 @@ extern int video_id; static int max_idx(int s_count, int *s_rates, int bound) { - int i, best = -1, rate = 0; + int i, best = -1, rate = -1; for (i = 0; i < s_count; i++) { if (s_rates[i] > rate && s_rates[i] <= bound) { rate = s_rates[i];