Mercurial > libavcodec.hg
changeset 6130:057c243a4e3b libavcodec
Mark the ff_svq1_frame_size_table as constant.
Patch by Diego 'Flameeyes' Petten flameeyes gmail ! com
author | benoit |
---|---|
date | Mon, 07 Jan 2008 12:48:42 +0000 |
parents | bd1a8a378368 |
children | 969b9d3d3f45 |
files | svq1.c svq1.h |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/svq1.c Mon Jan 07 12:47:14 2008 +0000 +++ b/svq1.c Mon Jan 07 12:48:42 2008 +0000 @@ -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 } };
--- a/svq1.h Mon Jan 07 12:47:14 2008 +0000 +++ b/svq1.h Mon Jan 07 12:48:42 2008 +0000 @@ -56,6 +56,6 @@ 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 */