comparison audioconvert.c @ 8155:ea2c20535551 libavcodec

One const is enough.
author cehoyos
date Mon, 17 Nov 2008 12:48:31 +0000
parents 04295cbc0e9b
children ffb82d54ecdc
comparison
equal deleted inserted replaced
8154:6d2beae655f0 8155:ea2c20535551
102 102
103 static const struct { 103 static const struct {
104 const char *name; 104 const char *name;
105 int nb_channels; 105 int nb_channels;
106 int64_t layout; 106 int64_t layout;
107 } const channel_layout_map[] = { 107 } channel_layout_map[] = {
108 { "mono", 1, CH_LAYOUT_MONO }, 108 { "mono", 1, CH_LAYOUT_MONO },
109 { "stereo", 2, CH_LAYOUT_STEREO }, 109 { "stereo", 2, CH_LAYOUT_STEREO },
110 { "surround", 3, CH_LAYOUT_SURROUND }, 110 { "surround", 3, CH_LAYOUT_SURROUND },
111 { "quad", 4, CH_LAYOUT_QUAD }, 111 { "quad", 4, CH_LAYOUT_QUAD },
112 { "5.0", 5, CH_LAYOUT_5POINT0 }, 112 { "5.0", 5, CH_LAYOUT_5POINT0 },