diff --git a/libavcodec/h261.h b/libavcodec/h261.h index 5b60dd65a3..f59c96a9b1 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 03770be3cd..08700bd164 100644 --- a/libavcodec/h261dec.c +++ b/libavcodec/h261dec.c @@ -40,8 +40,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 c22100cf8c..cd84212473 100644 --- a/libavcodec/h261enc.c +++ b/libavcodec/h261enc.c @@ -32,8 +32,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);