diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index b0de4d359f..4cb781a82d 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -31,7 +31,7 @@ op_pixels_abs_func pix_abs16x16_x2; op_pixels_abs_func pix_abs16x16_y2; op_pixels_abs_func pix_abs16x16_xy2; -static UINT8 cropTbl[256 + 2 * MAX_NEG_CROP]; +UINT8 cropTbl[256 + 2 * MAX_NEG_CROP]; UINT32 squareTbl[512]; extern UINT16 default_intra_matrix[64]; diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index ebb4d8446c..14613adba2 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -25,6 +25,7 @@ extern UINT8 zigzag_direct[64]; /* temporary */ extern UINT32 squareTbl[512]; +extern UINT8 cropTbl[256 + 2 * MAX_NEG_CROP]; void dsputil_init(void);