ffmpeg | branch: master | Anton Khirnov <an...@khirnov.net> | Tue Dec 27 18:54:47 2016 +0100| [f1af37b51033ad90e56a8d7dfcc366f2bd9d2fed] | committer: Anton Khirnov
h264dec: make ff_h264_decode_init() static It is not called from outside h264dec.c anymore. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f1af37b51033ad90e56a8d7dfcc366f2bd9d2fed --- libavcodec/h264dec.c | 4 ++-- libavcodec/h264dec.h | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 54ded03bd8..e111d40c35 100644 --- a/libavcodec/h264dec.c +++ b/libavcodec/h264dec.c @@ -361,7 +361,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; @@ -795,7 +795,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 | diff --git a/libavcodec/h264dec.h b/libavcodec/h264dec.h index 2ffe4deda0..5957e795e6 100644 --- a/libavcodec/h264dec.h +++ b/libavcodec/h264dec.h @@ -553,7 +553,6 @@ int ff_h264_decode_ref_pic_marking(H264SliceContext *sl, GetBitContext *gb, const H2645NAL *nal, void *logctx); 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); /** _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog