[Ffmpeg-devel] [PATCH] simplify libavcodec/allcodecs.c

Benjamin Zores ben
Tue Nov 28 10:14:35 CET 2006


> Hi,
>
> Same as for allformats, but applied to allcodecs.
> Line count divided by 3.
> I will apply soon.

+#define REGISTER_ENCDEC(X,x)  REGISTER_ENCODER(X,x); REGISTER_DECODER(X,x)

The name sounds pretty bad at hearing.
Why not simply REGISTER_CODEC instead (which should mean coder-decoder) ?
The goal at long term is to have as many encoders than decoders and by
this time there should be _ENCDEC only in this file which won't have much
meaning imho.

Just my .2$

Ben





More information about the ffmpeg-devel mailing list