[FFmpeg-cvslog] h261: Move ff_h261_rl_table_store declaration to header file

Diego Biurrun git at videolan.org
Fri Apr 5 21:26:05 CEST 2013


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Wed Apr  3 18:52:30 2013 +0200| [ae35d91d44c5e676af3d146bf8d05b241c467675] | committer: Diego Biurrun

h261: Move ff_h261_rl_table_store declaration to header file

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ae35d91d44c5e676af3d146bf8d05b241c467675
---

 libavcodec/h261.h    |    2 ++
 libavcodec/h261dec.c |    2 --
 libavcodec/h261enc.c |    2 --
 3 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/libavcodec/h261.h b/libavcodec/h261.h
index 6461329..21734a5 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 d8ce66d..2592976 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 88b0796..0709413 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);
 



More information about the ffmpeg-cvslog mailing list