mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 19:30:05 +00:00
h263: remove an unused parameter from ff_h263_decode_init_vlc
This commit is contained in:
parent
9d083d6417
commit
ca1fe6c0e6
@ -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);
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user