From 5968415156007de5e154c6af826ab16b7373892a Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Mon, 10 Mar 2014 13:37:12 +0100 Subject: Define ff_log2_run[] in libavcodec/internal.h. This avoids defining the array with different sizes in different source files. --- libavcodec/jpegls.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libavcodec/jpegls.h') diff --git a/libavcodec/jpegls.h b/libavcodec/jpegls.h index 10ae054a7b..c8997c7861 100644 --- a/libavcodec/jpegls.h +++ b/libavcodec/jpegls.h @@ -30,6 +30,7 @@ #include "libavutil/common.h" #include "avcodec.h" +#include "internal.h" typedef struct JpeglsContext { AVCodecContext *avctx; @@ -43,8 +44,6 @@ typedef struct JLSState { int run_index[4]; } JLSState; -extern const uint8_t ff_log2_run[32]; - /** * Calculate initial JPEG-LS parameters */ -- cgit v1.2.3