[FFmpeg-soc] [soc] libavsequencer [PATCH 01/08] Music module public API header file.

Martin Storsjö martin at martin.st
Thu Jul 15 20:46:45 CEST 2010


Hi,

On Thu, 15 Jul 2010, Ronald S. Bultje wrote:

> On Thu, Jul 15, 2010 at 8:28 AM, Sebastian Vater
> <cdgs.basty at googlemail.com> wrote:
> >
> > I access them like:
> > if (flags & AVSEQ_TRACK_EFFECT_CMD_STOP_FX) { .. }
> >
> > Won't have change that to:
> > if (flags & Whatever.AVSEQ_TRACK_EFFECT_CMD_STOP_FX) { .. }
> >
> > then?
> 
> Only in C++. Not in C. :-).

FWIW, not in C++ either, you'd need to change it to Whatever::AV... only 
if it was defined within such a class or namespace, but the enum name 
itself is never needed.

// Martin


More information about the FFmpeg-soc mailing list