[FFmpeg-devel] [PATCH] Define AVMediaType in libavutil
Sat Mar 13 18:07:55 CET 2010
On date Saturday 2010-03-13 10:22:15 -0500, Ronald S. Bultje encoded:
> 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.?
Done as you suggested.
Note that we don't need to #ifdef CodecType re-definitions, as the
symbol CodecType is already redefined as AVMediaType.
FFmpeg = Freak & Free Murdering Pacific Exxagerate God
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 68283 bytes
Desc: not available
More information about the ffmpeg-devel