[pulseaudio-commits] r2054 - /trunk/src/pulse/channelmap.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Tue Nov 13 15:41:18 PST 2007
Author: lennart
Date: Wed Nov 14 00:41:17 2007
New Revision: 2054
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2054&root=pulseaudio&view=rev
Log:
add array size to increase chance of detecting missing updates
Modified:
trunk/src/pulse/channelmap.c
Modified: trunk/src/pulse/channelmap.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulse/channelmap.c?rev=2054&root=pulseaudio&r1=2053&r2=2054&view=diff
==============================================================================
--- trunk/src/pulse/channelmap.c (original)
+++ trunk/src/pulse/channelmap.c Wed Nov 14 00:41:17 2007
@@ -36,7 +36,7 @@
#include "channelmap.h"
-const char *const table[] = {
+const char *const table[PA_CHANNEL_POSITION_MAX] = {
[PA_CHANNEL_POSITION_MONO] = "mono",
[PA_CHANNEL_POSITION_FRONT_CENTER] = "front-center",
@@ -99,7 +99,7 @@
[PA_CHANNEL_POSITION_TOP_REAR_RIGHT] = "top-rear-right"
};
-const char *const pretty_table[] = {
+const char *const pretty_table[PA_CHANNEL_POSITION_MAX] = {
[PA_CHANNEL_POSITION_MONO] = "Mono",
[PA_CHANNEL_POSITION_FRONT_CENTER] = "Front Center",
@@ -531,4 +531,3 @@
return 1;
}
-
More information about the pulseaudio-commits
mailing list