1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

j2k: fix "static is not at beginning of declaration" warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-09-20 02:13:52 +02:00
parent 161c6d1682
commit d1974e05d1
2 changed files with 2 additions and 2 deletions

View File

@ -252,7 +252,7 @@ int ff_j2k_init_component(J2kComponent *comp, J2kCodingStyle *codsty, J2kQuantSt
int cblkperprecw, cblkperprech;
if (qntsty->quantsty != J2K_QSTY_NONE){
const static uint8_t lut_gain[2][4] = {{0, 0, 0, 0}, {0, 1, 1, 2}};
static const uint8_t lut_gain[2][4] = {{0, 0, 0, 0}, {0, 1, 1, 2}};
int numbps;
numbps = cbps + lut_gain[codsty->transform][bandno + reslevelno>0];

View File

@ -27,7 +27,7 @@
#include "j2k_dwt.h"
const static float scale97[] = {1.625786, 1.230174};
static const float scale97[] = {1.625786, 1.230174};
static inline void extend53(int *p, int i0, int i1)
{