From 495bb26d1b8dd0479139bbfe74874782e315bc95 Mon Sep 17 00:00:00 2001 From: arpi Date: Wed, 7 Nov 2001 01:59:28 +0000 Subject: workaround for MBC/MBR difference (wrong libavcodec-mplayer version pair) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2757 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpeg2/mpeg2_internal.h | 1 - libmpeg2/slice.c | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'libmpeg2') 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 [] = { -- cgit v1.2.3