OSDN Git Service

Original Commit: r85 | ods15 | 2006-09-29 21:07:58 +0300 (Fri, 29 Sep 2006) | 2 lines
authorOded Shimon <ods15@ods15.dyndns.org>
Mon, 2 Oct 2006 06:08:46 +0000 (06:08 +0000)
committerOded Shimon <ods15@ods15.dyndns.org>
Mon, 2 Oct 2006 06:08:46 +0000 (06:08 +0000)
bad array decleration

Originally committed as revision 6490 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/vorbis_enc.c

index 7d7571b..396ca4b 100644 (file)
@@ -470,7 +470,7 @@ static void create_vorbis_context(venc_context_t * venc, AVCodecContext * avccon
     rc->classbook = 15;
     rc->books = av_malloc(sizeof(int[8]) * rc->classifications);
     for (i = 0; i < rc->classifications; i++) {
-        int a[][10] = {
+        int a[10][8] = {
             { -1, -1, -1, -1, -1, -1, -1, -1, },
             { -1, -1, 16, -1, -1, -1, -1, -1, },
             { -1, -1, 17, -1, -1, -1, -1, -1, },