diff options
Diffstat (limited to 'libavcodec/assenc.c')
-rw-r--r-- | libavcodec/assenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/assenc.c b/libavcodec/assenc.c index 948ccdf083..2ac40d5afe 100644 --- a/libavcodec/assenc.c +++ b/libavcodec/assenc.c @@ -75,7 +75,7 @@ const FFCodec ff_ssa_encoder = { .p.type = AVMEDIA_TYPE_SUBTITLE, .p.id = AV_CODEC_ID_ASS, .init = ass_encode_init, - .encode_sub = ass_encode_frame, + FF_CODEC_ENCODE_SUB_CB(ass_encode_frame), .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif @@ -87,7 +87,7 @@ const FFCodec ff_ass_encoder = { .p.type = AVMEDIA_TYPE_SUBTITLE, .p.id = AV_CODEC_ID_ASS, .init = ass_encode_init, - .encode_sub = ass_encode_frame, + FF_CODEC_ENCODE_SUB_CB(ass_encode_frame), .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif |