Commit d1974e05 authored by Michael Niedermayer's avatar Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 161c6d16
...@@ -252,7 +252,7 @@ int ff_j2k_init_component(J2kComponent *comp, J2kCodingStyle *codsty, J2kQuantSt ...@@ -252,7 +252,7 @@ int ff_j2k_init_component(J2kComponent *comp, J2kCodingStyle *codsty, J2kQuantSt
int cblkperprecw, cblkperprech; int cblkperprecw, cblkperprech;
if (qntsty->quantsty != J2K_QSTY_NONE){ 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; int numbps;
numbps = cbps + lut_gain[codsty->transform][bandno + reslevelno>0]; numbps = cbps + lut_gain[codsty->transform][bandno + reslevelno>0];
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include "j2k_dwt.h" #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) static inline void extend53(int *p, int i0, int i1)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment