diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-03-10 13:37:12 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-03-10 13:37:12 +0100 |
commit | 5968415156007de5e154c6af826ab16b7373892a (patch) | |
tree | 5197a1577e8a46e7944c9f15fed1cb0a4426cbba /libavcodec/jpegls.h | |
parent | d68ac92dc2ae0e66860d90d18835d27bd7d2aa28 (diff) | |
download | ffmpeg-5968415156007de5e154c6af826ab16b7373892a.tar.gz |
Define ff_log2_run[] in libavcodec/internal.h.
This avoids defining the array with different sizes in
different source files.
Diffstat (limited to 'libavcodec/jpegls.h')
-rw-r--r-- | libavcodec/jpegls.h | 3 |
1 files changed, 1 insertions, 2 deletions
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 */ |