X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmpeg.c;h=fb1d54e52f70bf1bc20d3104023fbe2329237d32;hb=bc70684e74a185d7b80c8b80bdedda659cb581b8;hp=0ddeaa9fb82cd47e764b7aca019c422acd35b014;hpb=d92f38c179591a608390ffa9fee59c309142e79d;p=ffmpeg diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index 0ddeaa9fb82..fb1d54e52f7 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -681,7 +681,7 @@ static int64_t mpegps_read_dts(AVFormatContext *s, int stream_index, return dts; } -AVInputFormat ff_mpegps_demuxer = { +const AVInputFormat ff_mpegps_demuxer = { .name = "mpeg", .long_name = NULL_IF_CONFIG_SMALL("MPEG-PS (MPEG-2 Program Stream)"), .priv_data_size = sizeof(MpegDemuxContext), @@ -1040,7 +1040,7 @@ static const AVClass vobsub_demuxer_class = { .version = LIBAVUTIL_VERSION_INT, }; -AVInputFormat ff_vobsub_demuxer = { +const AVInputFormat ff_vobsub_demuxer = { .name = "vobsub", .long_name = NULL_IF_CONFIG_SMALL("VobSub subtitle format"), .priv_data_size = sizeof(VobSubDemuxContext),