[FFmpeg-devel] [PATCH] MLP Encoder

Aurelien Jacobs aurel
Thu Aug 14 23:42:51 CEST 2008


Michael Niedermayer wrote:

> On Thu, Aug 14, 2008 at 02:08:45AM -0300, Ramiro Polla wrote:
> 
> [...]
> > Index: libavformat/raw.c
> > ===================================================================
> > --- libavformat/raw.c	(revision 14733)
> > +++ libavformat/raw.c	(working copy)
> > @@ -596,6 +596,21 @@
> >  };
> >  #endif
> >  
> > +#ifdef CONFIG_MUXERS
> > +AVOutputFormat mlp_muxer = {
> > +    "mlp",
> > +    NULL_IF_CONFIG_SMALL("raw MLP"),
> > +    NULL,
> > +    "mlp",
> > +    0,
> > +    CODEC_ID_MLP,
> > +    CODEC_ID_NONE,
> > +    NULL,
> > +    raw_write_packet,
> > +    .flags= AVFMT_NOTIMESTAMPS,
> > +};
> > +#endif //CONFIG_MUXERS
> > +
> >  AVInputFormat flac_demuxer = {
> >      "flac",
> >      NULL_IF_CONFIG_SMALL("raw FLAC"),
> 
> ok

The #ifdef should be against CONFIG_MLP_MUXER instead of CONFIG_MUXERS.

Aurel




More information about the ffmpeg-devel mailing list