changeset 2756:b4d0cc1fd14b

workaround for MBC/MBR difference (wrong libavcodec-mplayer version pair)
author arpi
date Wed, 07 Nov 2001 01:59:28 +0000
parents 2f93f4351765
children b8b92c4afa22
files libmpeg2/mpeg2_internal.h libmpeg2/slice.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpeg2/mpeg2_internal.h	Tue Nov 06 23:54:41 2001 +0000
+++ b/libmpeg2/mpeg2_internal.h	Wed Nov 07 01:59:28 2001 +0000
@@ -220,5 +220,4 @@
 #ifdef MPEG12_POSTPROC
 #define MPEG2_MBC 120
 #define MPEG2_MBR 72
-extern int quant_store[MPEG2_MBR+1][MPEG2_MBC+1]; // [Review]
 #endif
--- a/libmpeg2/slice.c	Tue Nov 06 23:54:41 2001 +0000
+++ b/libmpeg2/slice.c	Wed Nov 07 01:59:28 2001 +0000
@@ -32,6 +32,10 @@
 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 [] = {