diff options
-rw-r--r-- | libmpeg2/mpeg2_internal.h | 1 | ||||
-rw-r--r-- | libmpeg2/slice.c | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/libmpeg2/mpeg2_internal.h b/libmpeg2/mpeg2_internal.h index 55b0ba2a01..b08fa217ed 100644 --- a/libmpeg2/mpeg2_internal.h +++ b/libmpeg2/mpeg2_internal.h @@ -220,5 +220,4 @@ void mpeg2_free_image_buffers (picture_t * picture); #ifdef MPEG12_POSTPROC #define MPEG2_MBC 120 #define MPEG2_MBR 72 -extern int quant_store[MPEG2_MBR+1][MPEG2_MBC+1]; // [Review] #endif diff --git a/libmpeg2/slice.c b/libmpeg2/slice.c index a1a2bcb7fa..0c072aeb2b 100644 --- a/libmpeg2/slice.c +++ b/libmpeg2/slice.c @@ -32,6 +32,10 @@ extern mc_functions_t mc_functions; extern void (* idct_block_copy) (int16_t * block, uint8_t * dest, int stride); extern void (* idct_block_add) (int16_t * block, uint8_t * dest, int stride); +#ifdef MPEG12_POSTPROC +extern int quant_store[MPEG2_MBR+1][MPEG2_MBC+1]; // [Review] +#endif + #include "vlc.h" static int non_linear_quantizer_scale [] = { |