mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-14 00:58:38 +02:00
Mark the ff_svq1_frame_size_table as constant.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com Originally committed as revision 11447 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a1f89639a8
commit
81fe0cfc0b
@ -37,7 +37,7 @@
|
|||||||
#include "svq1_vlc.h"
|
#include "svq1_vlc.h"
|
||||||
|
|
||||||
/* standard video sizes */
|
/* 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 },
|
{ 160, 120 }, { 128, 96 }, { 176, 144 }, { 352, 288 },
|
||||||
{ 704, 576 }, { 240, 180 }, { 320, 240 }, { -1, -1 }
|
{ 704, 576 }, { 240, 180 }, { 320, 240 }, { -1, -1 }
|
||||||
};
|
};
|
||||||
|
@ -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_intra_mean_vlc[256][2];
|
||||||
extern const uint16_t ff_svq1_inter_mean_vlc[512][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 */
|
#endif /* FFMPEG_SVQ1_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user