summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOded Shimon <ods15@ods15.dyndns.org>2006-10-02 06:08:46 +0000
committerOded Shimon <ods15@ods15.dyndns.org>2006-10-02 06:08:46 +0000
commit5e93d002e5a60d08f9ea7566fb36d9b88353196a (patch)
treeb4f74dc23301804b151d815060ad673f9ea1f2f7
parent866bfee3734b2eaacbe944da6238da941d8c52f2 (diff)
Original Commit: r85 | ods15 | 2006-09-29 21:07:58 +0300 (Fri, 29 Sep 2006) | 2 lines
bad array decleration Originally committed as revision 6490 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/vorbis_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vorbis_enc.c b/libavcodec/vorbis_enc.c
index 7d7571bf14..396ca4b829 100644
--- a/libavcodec/vorbis_enc.c
+++ b/libavcodec/vorbis_enc.c
@@ -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, },