[FFmpeg-devel] [PATCH] MLP Encoder

Ramiro Polla ramiro.polla
Thu Aug 14 23:59:15 CEST 2008


On Thu, Aug 14, 2008 at 6:42 PM, Aurelien Jacobs <aurel at gnuage.org> wrote:
> 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.

Is this how it is supposed to be #ifdef'd now? I haven't checked, but
at least I and Diego have asked ourselves why is CONFIG_MUXERS even
used in these cases, and not the specific muxers (and demuxers
accordingly).

Ramiro Polla




More information about the ffmpeg-devel mailing list