[FFmpeg-devel] [RFC] Channel layouts

Andreas Öman andreas
Fri Aug 29 10:09:41 CEST 2008


Robert Swain wrote:
> Is there any benefit to doing all the bit shifting of the flags or can
> we just do the usual 0x1, 0x2, 0x4, 0x8, 0x10, 0x20... that we use for
> other bit mask flags?

Yes, The shift-values (or index) is used in:

+static const char* channel_names[]={
+    [CHANNEL_FRONT_LEFT]       = "front-left",




More information about the ffmpeg-devel mailing list