summaryrefslogtreecommitdiff
path: root/libavcodec/realtextdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/realtextdec.c')
-rw-r--r--libavcodec/realtextdec.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/realtextdec.c b/libavcodec/realtextdec.c
index 38d21d1f15..4c0694c8ed 100644
--- a/libavcodec/realtextdec.c
+++ b/libavcodec/realtextdec.c
@@ -75,11 +75,11 @@ static int realtext_decode_frame(AVCodecContext *avctx,
return avpkt->size;
}
-const AVCodec ff_realtext_decoder = {
- .name = "realtext",
- .long_name = NULL_IF_CONFIG_SMALL("RealText subtitle"),
- .type = AVMEDIA_TYPE_SUBTITLE,
- .id = AV_CODEC_ID_REALTEXT,
+const FFCodec ff_realtext_decoder = {
+ .p.name = "realtext",
+ .p.long_name = NULL_IF_CONFIG_SMALL("RealText subtitle"),
+ .p.type = AVMEDIA_TYPE_SUBTITLE,
+ .p.id = AV_CODEC_ID_REALTEXT,
.decode = realtext_decode_frame,
.init = ff_ass_subtitle_header_default,
.flush = ff_ass_decoder_flush,