X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fh264dec.c;h=35ab51f6160cabf7e176a1a6e0ea2216ae2fbfcb;hb=a13eac5a9959cb14b780b0938f56b627237f3d19;hp=25aeba7d71a0daf154e6c3bd536047ddfdd20975;hpb=58ed9deec8688941648d1da96805bf4c2f51441e;p=ffmpeg diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 25aeba7d71a..35ab51f6160 100644 --- a/libavcodec/h264dec.c +++ b/libavcodec/h264dec.c @@ -388,7 +388,7 @@ static av_cold int h264_decode_end(AVCodecContext *avctx) 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; int ret; @@ -1072,7 +1072,7 @@ AVCodec ff_h264_decoder = { .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_H264, .priv_data_size = sizeof(H264Context), - .init = ff_h264_decode_init, + .init = h264_decode_init, .close = h264_decode_end, .decode = h264_decode_frame, .capabilities = /*AV_CODEC_CAP_DRAW_HORIZ_BAND |*/ AV_CODEC_CAP_DR1 | @@ -1100,7 +1100,7 @@ AVCodec ff_h264_vdpau_decoder = { .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_H264, .priv_data_size = sizeof(H264Context), - .init = ff_h264_decode_init, + .init = h264_decode_init, .close = h264_decode_end, .decode = h264_decode_frame, .capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY | AV_CODEC_CAP_HWACCEL_VDPAU,