[Mplayer-cvslog] CVS: main/libmpdemux asfheader.c,1.33,1.34

Atmosfear atmos4 at mplayerhq.hu
Sun Jul 7 18:17:48 CEST 2002


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv3294/libmpdemux

Modified Files:
	asfheader.c 
Log Message:
Fix -bandwidth if no streaming available, 10l ;)


Index: asfheader.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/asfheader.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- asfheader.c	5 Jul 2002 02:48:32 -0000	1.33
+++ asfheader.c	7 Jul 2002 16:17:45 -0000	1.34
@@ -322,12 +322,14 @@
 
 if(streams) {
   uint32_t vr = 0, ar = 0,i;
+#ifdef STREAMING
   if( demuxer->stream->streaming_ctrl!=NULL ) {
 	  if( demuxer->stream->streaming_ctrl->bandwidth!=0 && demuxer->stream->streaming_ctrl->data!=NULL ) {
 		  best_audio = ((asf_http_streaming_ctrl_t*)demuxer->stream->streaming_ctrl->data)->audio_id;
 		  best_video = ((asf_http_streaming_ctrl_t*)demuxer->stream->streaming_ctrl->data)->video_id;
 	  }
-  } else 
+  } else
+#endif
   for(i = 0; i < stream_count; i++) {
     uint32_t id = streams[2*i];
     uint32_t rate = streams[2*i+1];




More information about the MPlayer-cvslog mailing list