git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
avcodec: Consistently name encoder init functions foo_encode_init
[ffmpeg.git]
/
libavcodec
/
dvenc.c
diff --git
a/libavcodec/dvenc.c
b/libavcodec/dvenc.c
index
73c07f2
..
590a2a9
100644
(file)
--- a/
libavcodec/dvenc.c
+++ b/
libavcodec/dvenc.c
@@
-33,7
+33,7
@@
#include "dv.h"
#include "dv_tablegen.h"
#include "dv.h"
#include "dv_tablegen.h"
-static av_cold int dvvideo_
init_encoder
(AVCodecContext *avctx)
+static av_cold int dvvideo_
encode_init
(AVCodecContext *avctx)
{
if (!avpriv_dv_codec_profile(avctx)) {
av_log(avctx, AV_LOG_ERROR, "Found no DV profile for %ix%i %s video. "
{
if (!avpriv_dv_codec_profile(avctx)) {
av_log(avctx, AV_LOG_ERROR, "Found no DV profile for %ix%i %s video. "
@@
-699,7
+699,7
@@
AVCodec ff_dvvideo_encoder = {
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_DVVIDEO,
.priv_data_size = sizeof(DVVideoContext),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_DVVIDEO,
.priv_data_size = sizeof(DVVideoContext),
- .init = dvvideo_
init_encoder
,
+ .init = dvvideo_
encode_init
,
.encode2 = dvvideo_encode_frame,
.close = dvvideo_encode_close,
.capabilities = CODEC_CAP_SLICE_THREADS,
.encode2 = dvvideo_encode_frame,
.close = dvvideo_encode_close,
.capabilities = CODEC_CAP_SLICE_THREADS,