[FFmpeg-devel] [PATCH] Define AVMediaType in libavutil

Ronald S. Bultje rsbultje
Sat Mar 13 16:22:15 CET 2010


Hi,

On Sat, Mar 13, 2010 at 10:10 AM, Stefano Sabatini
<stefano.sabatini-lala at poste.it> wrote:
> If this is OK I can replace all occurrences of CodecType with
> corresponding AVMediaType symbols and drop the CodecType definition,

I'd do two patches:
1) rename CODEC_TYPE_* to AVMEDIA_TYPE_*, including all renames in all
files and the compat macros under a version #if
2) move it into libavutil

You could also move CodecType, but that lacks prefix, so I see your
logic. But doing it this way is a little weird, it's both a move +
rename without version protection (thus API deprecation), etc.?

Ronald



More information about the ffmpeg-devel mailing list