[PATCH] Fix compile error for stream_radio.c (was: [MPlayer-dev-eng] Re: [PATCH] radio drivers loading rework)

Bernd Ernesti mplayer-dev-eng at lists.veego.de
Sat Apr 7 21:43:32 CEST 2007


On Sat, Apr 07, 2007 at 09:33:22PM +0200, Bernd Ernesti wrote:
> On Thu, Mar 22, 2007 at 12:44:14AM +0600, Vladimir Voroshilov wrote:
> > 2007/3/20, Vladimir Voroshilov <voroshil at gmail.com>:
> > >
> > >
> > >
> > >2007/3/20, Vladimir Voroshilov <voroshil at gmail.com>:
> > >>
> > >> Drivers loading rework similar to recent in tv.c.
> > >> No driver=help, but list of available drivers is showed with "-v"
> > >
> > >
> > >If no objections i'll apply it tomorrow.
> > >
> > 
> > 
> > Applied.
> 
> Which cause compile errors:
> 
> stream_radio.c:658: error: 'MSGTR_RADIO_DriverBSTBT848' undeclared here (not in a function)
> stream_radio.c:659: error: 'init_frac_bstbt848' undeclared here (not in a function)
> stream_radio.c:660: error: 'set_volume_bstbt848' undeclared here (not in a function)
> stream_radio.c:661: error: 'get_volume_bstbt848' undeclared here (not in a function)
> stream_radio.c:662: error: 'set_frequency_bstbt848' undeclared here (not in a function)
> stream_radio.c:663: error: 'get_frequency_bstbt848' undeclared here (not in a function)

It is BS_D_ and not BS_T_

See attached patch.

Bernd

-------------- next part --------------
Index: stream_radio.c
===================================================================
--- stream_radio.c	(revision 22940)
+++ stream_radio.c	(working copy)
@@ -655,12 +655,12 @@
 /* bsdbt848 driver info structure */
 static const radio_driver_t radio_driver_bstbt848={
     "bsdbt848",
-    MSGTR_RADIO_DriverBSTBT848,
-    init_frac_bstbt848,
-    set_volume_bstbt848,
-    get_volume_bstbt848,
-    set_frequency_bstbt848,
-    get_frequency_bstbt848
+    MSGTR_RADIO_DriverBSDBT848,
+    init_frac_bsdbt848,
+    set_volume_bsdbt848,
+    get_volume_bsdbt848,
+    set_frequency_bsdbt848,
+    get_frequency_bsdbt848
 };
 #endif //RADIO_BSDBT848_HDR
 


More information about the MPlayer-dev-eng mailing list