summaryrefslogtreecommitdiff
path: root/libavcodec/rawenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-02-06 18:29:51 +0100
committerDiego Biurrun <diego@biurrun.de>2014-02-20 04:16:15 -0800
commit984e3398662d460e15904f9e4a6df9ef759070cb (patch)
tree6dc35e91988fb77977013fe902bf5824542cb08c /libavcodec/rawenc.c
parent017a06a9ee86b047079166c2694c9c655ff03356 (diff)
downloadffmpeg-984e3398662d460e15904f9e4a6df9ef759070cb.tar.gz
avcodec: Consistently name encoder init functions foo_encode_init
Diffstat (limited to 'libavcodec/rawenc.c')
-rw-r--r--libavcodec/rawenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/rawenc.c b/libavcodec/rawenc.c
index 6c90d33776..bca0d08b7a 100644
--- a/libavcodec/rawenc.c
+++ b/libavcodec/rawenc.c
@@ -31,7 +31,7 @@
#include "libavutil/intreadwrite.h"
#include "libavutil/internal.h"
-static av_cold int raw_init_encoder(AVCodecContext *avctx)
+static av_cold int raw_encode_init(AVCodecContext *avctx)
{
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(avctx->pix_fmt);
@@ -75,6 +75,6 @@ AVCodec ff_rawvideo_encoder = {
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_RAWVIDEO,
.priv_data_size = sizeof(AVFrame),
- .init = raw_init_encoder,
+ .init = raw_encode_init,
.encode2 = raw_encode,
};