[FFmpeg-cvslog] h263: remove an unused parameter from ff_h263_decode_init_vlc

Anton Khirnov git at videolan.org
Thu Feb 7 13:47:39 CET 2013


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun Feb  3 08:32:39 2013 +0100| [ca1fe6c0e60808da45d4dfd8728f45e843b9f9b0] | committer: Anton Khirnov

h263: remove an unused parameter from ff_h263_decode_init_vlc

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

 libavcodec/h263.h       |    2 +-
 libavcodec/h263dec.c    |    2 +-
 libavcodec/ituh263dec.c |    2 +-
 libavcodec/rv10.c       |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/libavcodec/h263.h b/libavcodec/h263.h
index 0b5ace3..e1e0dd7 100644
--- a/libavcodec/h263.h
+++ b/libavcodec/h263.h
@@ -80,7 +80,7 @@ void ff_h263_encode_gob_header(MpegEncContext * s, int mb_line);
 int16_t *ff_h263_pred_motion(MpegEncContext * s, int block, int dir,
                              int *px, int *py);
 void ff_h263_encode_init(MpegEncContext *s);
-void ff_h263_decode_init_vlc(MpegEncContext *s);
+void ff_h263_decode_init_vlc(void);
 int ff_h263_decode_picture_header(MpegEncContext *s);
 int ff_h263_decode_gob_header(MpegEncContext *s);
 void ff_h263_update_motion_val(MpegEncContext * s);
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 169fd35..0eaf4d7 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -117,7 +117,7 @@ av_cold int ff_h263_decode_init(AVCodecContext *avctx)
         if (ff_MPV_common_init(s) < 0)
             return -1;
 
-        ff_h263_decode_init_vlc(s);
+        ff_h263_decode_init_vlc();
 
     return 0;
 }
diff --git a/libavcodec/ituh263dec.c b/libavcodec/ituh263dec.c
index f062b24..30cd58e 100644
--- a/libavcodec/ituh263dec.c
+++ b/libavcodec/ituh263dec.c
@@ -101,7 +101,7 @@ static VLC cbpc_b_vlc;
 /* init vlcs */
 
 /* XXX: find a better solution to handle static init */
-void ff_h263_decode_init_vlc(MpegEncContext *s)
+void ff_h263_decode_init_vlc(void)
 {
     static int done = 0;
 
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c
index 9239cf7..8cce6cf 100644
--- a/libavcodec/rv10.c
+++ b/libavcodec/rv10.c
@@ -472,7 +472,7 @@ static av_cold int rv10_decode_init(AVCodecContext *avctx)
     if (ff_MPV_common_init(s) < 0)
         return -1;
 
-    ff_h263_decode_init_vlc(s);
+    ff_h263_decode_init_vlc();
 
     /* init rv vlc */
     if (!done) {



More information about the ffmpeg-cvslog mailing list