summaryrefslogtreecommitdiff
path: root/libavcodec/h264dec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-12-27 18:54:47 +0100
committerAnton Khirnov <anton@khirnov.net>2017-01-09 13:21:13 +0100
commitf1af37b51033ad90e56a8d7dfcc366f2bd9d2fed (patch)
treeb62b38bdedf5c442c794099ac032a4e114adcbc8 /libavcodec/h264dec.c
parente7de05f98f630b5b3a5e441c8fa763e6d89b8851 (diff)
h264dec: make ff_h264_decode_init() static
It is not called from outside h264dec.c anymore.
Diffstat (limited to 'libavcodec/h264dec.c')
-rw-r--r--libavcodec/h264dec.c4
1 files changed, 2 insertions, 2 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 |