Mercurial > mplayer.hg
changeset 14639:cb261c423a06
fix for streams that do not send a bitrate
author | reimar |
---|---|
date | Thu, 03 Feb 2005 20:13:44 +0000 |
parents | fdea66294b26 |
children | 7afd18e23770 |
files | libmpdemux/asf_streaming.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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];