Commit ca1fe6c0 authored by Anton Khirnov's avatar Anton Khirnov

h263: remove an unused parameter from ff_h263_decode_init_vlc

parent 9d083d64
...@@ -80,7 +80,7 @@ void ff_h263_encode_gob_header(MpegEncContext * s, int mb_line); ...@@ -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, int16_t *ff_h263_pred_motion(MpegEncContext * s, int block, int dir,
int *px, int *py); int *px, int *py);
void ff_h263_encode_init(MpegEncContext *s); 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_picture_header(MpegEncContext *s);
int ff_h263_decode_gob_header(MpegEncContext *s); int ff_h263_decode_gob_header(MpegEncContext *s);
void ff_h263_update_motion_val(MpegEncContext * s); void ff_h263_update_motion_val(MpegEncContext * s);
......
...@@ -117,7 +117,7 @@ av_cold int ff_h263_decode_init(AVCodecContext *avctx) ...@@ -117,7 +117,7 @@ av_cold int ff_h263_decode_init(AVCodecContext *avctx)
if (ff_MPV_common_init(s) < 0) if (ff_MPV_common_init(s) < 0)
return -1; return -1;
ff_h263_decode_init_vlc(s); ff_h263_decode_init_vlc();
return 0; return 0;
} }
......
...@@ -101,7 +101,7 @@ static VLC cbpc_b_vlc; ...@@ -101,7 +101,7 @@ static VLC cbpc_b_vlc;
/* init vlcs */ /* init vlcs */
/* XXX: find a better solution to handle static init */ /* 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; static int done = 0;
......
...@@ -472,7 +472,7 @@ static av_cold int rv10_decode_init(AVCodecContext *avctx) ...@@ -472,7 +472,7 @@ static av_cold int rv10_decode_init(AVCodecContext *avctx)
if (ff_MPV_common_init(s) < 0) if (ff_MPV_common_init(s) < 0)
return -1; return -1;
ff_h263_decode_init_vlc(s); ff_h263_decode_init_vlc();
/* init rv vlc */ /* init rv vlc */
if (!done) { if (!done) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment