]> git.sesse.net Git - ffmpeg/commitdiff
h261: Move ff_h261_rl_table_store declaration to header file
authorDiego Biurrun <diego@biurrun.de>
Wed, 3 Apr 2013 16:52:30 +0000 (18:52 +0200)
committerDiego Biurrun <diego@biurrun.de>
Fri, 5 Apr 2013 10:24:28 +0000 (12:24 +0200)
libavcodec/h261.h
libavcodec/h261dec.c
libavcodec/h261enc.c

index 646132934386454d79acc772be5be923de51511e..21734a5e7d42355f525a663206751b0e8e081d3b 100644 (file)
@@ -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 */
index d8ce66d24c30a1e2424418c366cb5d2a5f59366f..2592976407bc7524e1ec7218f186722caf067428 100644 (file)
@@ -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;
index 88b07965a082b2549a799a5707cf9f5ab22a77a6..07094136e7a9b9acef51c9749de57432aabd2387 100644 (file)
@@ -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);