You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
h264dec: make ff_h264_decode_init() static
It is not called from outside h264dec.c anymore.
This commit is contained in:
@@ -361,7 +361,7 @@ static av_cold int h264_decode_end(AVCodecContext *avctx)
|
|||||||
|
|
||||||
static AVOnce h264_vlc_init = AV_ONCE_INIT;
|
static AVOnce h264_vlc_init = AV_ONCE_INIT;
|
||||||
|
|
||||||
av_cold int ff_h264_decode_init(AVCodecContext *avctx)
|
static av_cold int h264_decode_init(AVCodecContext *avctx)
|
||||||
{
|
{
|
||||||
H264Context *h = avctx->priv_data;
|
H264Context *h = avctx->priv_data;
|
||||||
int ret;
|
int ret;
|
||||||
@@ -795,7 +795,7 @@ AVCodec ff_h264_decoder = {
|
|||||||
.type = AVMEDIA_TYPE_VIDEO,
|
.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.id = AV_CODEC_ID_H264,
|
.id = AV_CODEC_ID_H264,
|
||||||
.priv_data_size = sizeof(H264Context),
|
.priv_data_size = sizeof(H264Context),
|
||||||
.init = ff_h264_decode_init,
|
.init = h264_decode_init,
|
||||||
.close = h264_decode_end,
|
.close = h264_decode_end,
|
||||||
.decode = h264_decode_frame,
|
.decode = h264_decode_frame,
|
||||||
.capabilities = /*AV_CODEC_CAP_DRAW_HORIZ_BAND |*/ AV_CODEC_CAP_DR1 |
|
.capabilities = /*AV_CODEC_CAP_DRAW_HORIZ_BAND |*/ AV_CODEC_CAP_DR1 |
|
||||||
|
@@ -553,7 +553,6 @@ int ff_h264_decode_ref_pic_marking(H264SliceContext *sl, GetBitContext *gb,
|
|||||||
const H2645NAL *nal, void *logctx);
|
const H2645NAL *nal, void *logctx);
|
||||||
|
|
||||||
void ff_h264_hl_decode_mb(const H264Context *h, H264SliceContext *sl);
|
void ff_h264_hl_decode_mb(const H264Context *h, H264SliceContext *sl);
|
||||||
int ff_h264_decode_init(AVCodecContext *avctx);
|
|
||||||
void ff_h264_decode_init_vlc(void);
|
void ff_h264_decode_init_vlc(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user