[MPlayer-dev-eng] [PATCH] demuxers cleanup (was Re: [PATCH] misc small fixes (mostly gcc warnings) )

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Sun Nov 27 23:59:32 CET 2005


On Sunday, 27 November 2005 at 23:30, Reimar Döffinger wrote:
> Hi,
> On Sun, Nov 27, 2005 at 06:50:22PM +0100, Dominik 'Rathann' Mierzejewski wrote:
> > --- MPlayer-20051109/libmpcodecs/ae_lavc.c.warn	2005-05-17 23:49:48.000000000 +0200
> > +++ MPlayer-20051109/libmpcodecs/ae_lavc.c	2005-11-12 20:35:29.000000000 +0100
> > @@ -26,6 +26,9 @@
> >  extern int  lavc_param_atag;
> >  extern int  avcodec_inited;
> >  static int compressed_frame_size = 0;
> > +#ifdef USE_LIBAVFORMAT
> > +extern unsigned int codec_get_wav_tag(int id);
> > +#endif
> >  
> >  static int bind_lavc(audio_encoder_t *encoder, muxer_stream_t *mux_a)
> >  {
> 
> I think the ifdef is not needed, unless you think it is better to
> specify it anyway.

Well, the code that uses that function is between such ifdef,
so I thought I'd be consistent.

R.

-- 
MPlayer RPMs maintainer: http://rpm.greysector.net/mplayer/
"I am Grey. I stand between the candle and the star. We are Grey.
 We stand between the darkness ... and the light."
        -- Delenn in Grey Council in Babylon 5:"Babylon Squared"




More information about the MPlayer-dev-eng mailing list