[FFmpeg-cvslog] avcodec/h261enc: remove unused variables

Michael Niedermayer git at videolan.org
Mon Nov 18 10:14:46 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Nov 18 10:04:17 2013 +0100| [cda3c004755481e43ddb755535365ab588672bf2] | committer: Michael Niedermayer

avcodec/h261enc: remove unused variables

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/h261enc.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavcodec/h261enc.c b/libavcodec/h261enc.c
index e04856d..ed089f1 100644
--- a/libavcodec/h261enc.c
+++ b/libavcodec/h261enc.c
@@ -330,8 +330,7 @@ static av_cold void init_uni_h261_rl_tab(RLTable *rl, uint32_t *bits_tab,
             for(last=0; last<=1; last++){
                 const int index= UNI_ENC_INDEX(last, run, slevel+64);
                 int level= slevel < 0 ? -slevel : slevel;
-                int sign= slevel < 0 ? 1 : 0;
-                int bits, len, code;
+                int len, code;
 
                 len_tab[index]= 100;
 



More information about the ffmpeg-cvslog mailing list