aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-04-03 18:52:30 +0200
committerDiego Biurrun <diego@biurrun.de>2013-04-05 12:24:28 +0200
commitae35d91d44c5e676af3d146bf8d05b241c467675 (patch)
treee8e6427856467de850a555db533cc77b456b03e5
parent28a807e28b4534326527df24ca7ae092ba0b15cd (diff)
downloadffmpeg-ae35d91d44c5e676af3d146bf8d05b241c467675.tar.gz
h261: Move ff_h261_rl_table_store declaration to header file
-rw-r--r--libavcodec/h261.h2
-rw-r--r--libavcodec/h261dec.c2
-rw-r--r--libavcodec/h261enc.c2
3 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/h261.h b/libavcodec/h261.h
index 6461329343..21734a5e7d 100644
--- a/libavcodec/h261.h
+++ b/libavcodec/h261.h
@@ -48,4 +48,6 @@ typedef struct H261Context{
#define MB_TYPE_H261_FIL 0x800000
+extern uint8_t ff_h261_rl_table_store[2][2*MAX_RUN + MAX_LEVEL + 3];
+
#endif /* AVCODEC_H261_H */
diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c
index d8ce66d24c..2592976407 100644
--- a/libavcodec/h261dec.c
+++ b/libavcodec/h261dec.c
@@ -39,8 +39,6 @@
#define MBA_STUFFING 33
#define MBA_STARTCODE 34
-extern uint8_t ff_h261_rl_table_store[2][2*MAX_RUN + MAX_LEVEL + 3];
-
static VLC h261_mba_vlc;
static VLC h261_mtype_vlc;
static VLC h261_mv_vlc;
diff --git a/libavcodec/h261enc.c b/libavcodec/h261enc.c
index 88b07965a0..07094136e7 100644
--- a/libavcodec/h261enc.c
+++ b/libavcodec/h261enc.c
@@ -31,8 +31,6 @@
#include "h261.h"
#include "h261data.h"
-extern uint8_t ff_h261_rl_table_store[2][2*MAX_RUN + MAX_LEVEL + 3];
-
static void h261_encode_block(H261Context * h, int16_t * block,
int n);