From 81fe0cfc0ba7eac51eaa0fc470d851a659c87cd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Petten=C3=B2?= Date: Mon, 7 Jan 2008 12:48:42 +0000 Subject: [PATCH] =?UTF-8?q?Mark=20the=20ff=5Fsvq1=5Fframe=5Fsize=5Ftable?= =?UTF-8?q?=20as=20constant.=20Patch=20by=20Diego=20'Flameeyes'=20Petten?= =?UTF-8?q?=C3=B2=20flameeyes=20=C2=A4=20gmail=20!=20com?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 11447 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/svq1.c | 2 +- libavcodec/svq1.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/svq1.c b/libavcodec/svq1.c index 8dd43ae1b8..a4991837db 100644 --- a/libavcodec/svq1.c +++ b/libavcodec/svq1.c @@ -37,7 +37,7 @@ #include "svq1_vlc.h" /* standard video sizes */ -svq1_frame_size_t ff_svq1_frame_size_table[8] = { +const svq1_frame_size_t ff_svq1_frame_size_table[8] = { { 160, 120 }, { 128, 96 }, { 176, 144 }, { 352, 288 }, { 704, 576 }, { 240, 180 }, { 320, 240 }, { -1, -1 } }; diff --git a/libavcodec/svq1.h b/libavcodec/svq1.h index 48fe6c72e1..7764dd8dd9 100644 --- a/libavcodec/svq1.h +++ b/libavcodec/svq1.h @@ -56,6 +56,6 @@ extern const uint8_t ff_svq1_inter_multistage_vlc[6][8][2]; extern const uint16_t ff_svq1_intra_mean_vlc[256][2]; extern const uint16_t ff_svq1_inter_mean_vlc[512][2]; -extern svq1_frame_size_t ff_svq1_frame_size_table[8]; +extern const svq1_frame_size_t ff_svq1_frame_size_table[8]; #endif /* FFMPEG_SVQ1_H */