diff options
Diffstat (limited to 'libavcodec/dvbsub.c')
-rw-r--r-- | libavcodec/dvbsub.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libavcodec/dvbsub.c b/libavcodec/dvbsub.c index ed128234e8..2df8b58021 100644 --- a/libavcodec/dvbsub.c +++ b/libavcodec/dvbsub.c @@ -403,11 +403,10 @@ static int dvbsub_encode(AVCodecContext *avctx, } AVCodec ff_dvbsub_encoder = { - "dvbsub", - AVMEDIA_TYPE_SUBTITLE, - CODEC_ID_DVB_SUBTITLE, - sizeof(DVBSubtitleContext), - NULL, - dvbsub_encode, + .name = "dvbsub", + .type = AVMEDIA_TYPE_SUBTITLE, + .id = CODEC_ID_DVB_SUBTITLE, + .priv_data_size = sizeof(DVBSubtitleContext), + .encode = dvbsub_encode, .long_name = NULL_IF_CONFIG_SMALL("DVB subtitles"), }; |