[FFmpeg-soc] [soc] libavsequencer [PATCH 01/08] Music module public API header file.
Ronald S. Bultje
rsbultje at gmail.com
Thu Jul 15 18:07:04 CEST 2010
Hi,
On Thu, Jul 15, 2010 at 8:28 AM, Sebastian Vater
<cdgs.basty at googlemail.com> wrote:
> Vitor Sessak a écrit :
>> #define AVSEQ_TRACK_EFFECT_CMD_T_TREMO_ONCE 0x2F
>> #define AVSEQ_TRACK_EFFECT_CMD_STOP_FX 0x1D
>>
>> by
>>
>> enum Whatever {
>> AVSEQ_TRACK_EFFECT_CMD_T_TREMO_ONCE = 0x2F,
>> AVSEQ_TRACK_EFFECT_CMD_STOP_FX = 0x1D,
>> }
>>
>> breaks?
>
> 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. :-).
Ronald
More information about the FFmpeg-soc
mailing list