[MPlayer-cvslog] r23505 - in trunk/stream: stream_radio.c tv.c tv.h

voroshil subversion at mplayerhq.hu
Fri Jun 8 08:08:51 CEST 2007


Author: voroshil
Date: Fri Jun  8 08:08:51 2007
New Revision: 23505

Log:
Fix compiler warnings.
Remove unused tv_param_on variable.



Modified:
   trunk/stream/stream_radio.c
   trunk/stream/tv.c
   trunk/stream/tv.h

Modified: trunk/stream/stream_radio.c
==============================================================================
--- trunk/stream/stream_radio.c	(original)
+++ trunk/stream/stream_radio.c	Fri Jun  8 08:08:51 2007
@@ -1071,10 +1071,11 @@ char* radio_get_channel_name(struct stre
  * \return number of bytes, written into buffer
  */
 static int fill_buffer_s(struct stream_st *s, char* buffer, int max_len){
-    radio_priv_t* priv=(radio_priv_t*)s->priv;
     int len=max_len;
 
 #ifdef USE_RADIO_CAPTURE
+    radio_priv_t* priv=(radio_priv_t*)s->priv;
+
     if (priv->do_capture){
         len=grab_audio_frame(priv, buffer,max_len);
     }

Modified: trunk/stream/tv.c
==============================================================================
--- trunk/stream/tv.c	(original)
+++ trunk/stream/tv.c	Fri Jun  8 08:08:51 2007
@@ -19,7 +19,6 @@
 
 #include "config.h"
 
-int tv_param_on = 0;
 
 #include "mp_msg.h"
 #include "help_mp.h"
@@ -668,7 +667,6 @@ static void demux_close_tv(demuxer_t *de
 tvi_handle_t *tv_begin(void)
 {
     int i;
-    tvi_info_t* info;
     tvi_handle_t* h;
     if(!strcmp(tv_param_driver,"help")){
         mp_msg(MSGT_TV,MSGL_INFO,MSGTR_TV_AvailableDrivers);

Modified: trunk/stream/tv.h
==============================================================================
--- trunk/stream/tv.h	(original)
+++ trunk/stream/tv.h	Fri Jun  8 08:08:51 2007
@@ -1,8 +1,6 @@
 #ifndef TV_H
 #define TV_H
 
-extern int tv_param_on;
-
 #ifdef USE_TV
 //#include "libao2/afmt.h"
 //#include "libmpcodecs/img_format.h"



More information about the MPlayer-cvslog mailing list