diff --git a/libavcodec/h263.h b/libavcodec/h263.h index 0b5ace3960..e1e0dd7ded 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 169fd35281..0eaf4d7f61 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 f062b246b4..30cd58efd3 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 9239cf7d94..8cce6cf699 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) {