summaryrefslogtreecommitdiff
path: root/libavcodec/flvenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/flvenc.c')
-rw-r--r--libavcodec/flvenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/flvenc.c b/libavcodec/flvenc.c
index 15f794e75e..c1227277b3 100644
--- a/libavcodec/flvenc.c
+++ b/libavcodec/flvenc.c
@@ -107,6 +107,7 @@ AVCodec ff_flv_encoder = {
.init = ff_mpv_encode_init,
.encode2 = ff_mpv_encode_picture,
.close = ff_mpv_encode_end,
+ .caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
.pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV420P,
AV_PIX_FMT_NONE},
.priv_class = &flv_class,