From a3ef994cea2319ff3cf2e634b5ab3d278e18a06c Mon Sep 17 00:00:00 2001
From: David Conrad <lessen42@gmail.com>
Date: Tue, 29 Jun 2010 06:42:08 +0000
Subject: [PATCH] vorbis: cosmetics, remove trailing comma for values that will
 never have anything added

Originally committed as revision 23882 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/vorbis_data.c | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/libavcodec/vorbis_data.c b/libavcodec/vorbis_data.c
index c504664aae1..24c9921fd19 100644
--- a/libavcodec/vorbis_data.c
+++ b/libavcodec/vorbis_data.c
@@ -22,25 +22,25 @@
 #include "vorbis.h"
 
 const uint8_t ff_vorbis_channel_layout_offsets[8][8] = {
-    { 0, },
-    { 0, 1, },
-    { 0, 2, 1, },
-    { 0, 1, 2, 3, },
-    { 0, 2, 1, 3, 4, },
-    { 0, 2, 1, 5, 3, 4, },
-    { 0, 2, 1, 6, 5, 3, 4, },
-    { 0, 2, 1, 7, 5, 6, 3, 4},
+    { 0 },
+    { 0, 1 },
+    { 0, 2, 1 },
+    { 0, 1, 2, 3 },
+    { 0, 2, 1, 3, 4 },
+    { 0, 2, 1, 5, 3, 4 },
+    { 0, 2, 1, 6, 5, 3, 4 },
+    { 0, 2, 1, 7, 5, 6, 3, 4 },
 };
 
 const uint8_t ff_vorbis_encoding_channel_layout_offsets[8][8] = {
-    { 0, },
-    { 0, 1, },
-    { 0, 2, 1, },
-    { 0, 1, 2, 3, },
-    { 0, 2, 1, 3, 4, },
-    { 0, 2, 1, 4, 5, 3, },
-    { 0, 2, 1, 5, 6, 4, 3, },
-    { 0, 2, 1, 6, 7, 4, 5, 3 }
+    { 0 },
+    { 0, 1 },
+    { 0, 2, 1 },
+    { 0, 1, 2, 3 },
+    { 0, 2, 1, 3, 4 },
+    { 0, 2, 1, 4, 5, 3 },
+    { 0, 2, 1, 5, 6, 4, 3 },
+    { 0, 2, 1, 6, 7, 4, 5, 3 },
 };
 
 const int64_t ff_vorbis_channel_layouts[9] = {
-- 
GitLab