[MPlayer-cvslog] CVS: main/libmpdemux asf_streaming.c,1.52,1.53

Reimar Döffinger CVS syncmail at mplayerhq.hu
Thu Feb 3 21:13:47 CET 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv28438

Modified Files:
	asf_streaming.c 
Log Message:
fix for streams that do not send a bitrate


Index: asf_streaming.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/asf_streaming.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- asf_streaming.c	16 Jan 2005 22:30:28 -0000	1.52
+++ asf_streaming.c	3 Feb 2005 20:13:44 -0000	1.53
@@ -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];




More information about the MPlayer-cvslog mailing list