diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-10 22:11:57 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-11 14:42:36 +0200 |
commit | 0086432fc72f6671d23ca67ede7e8bc18af7124e (patch) | |
tree | f2d236a7820442417cf76aa29318e7a16ece1ffd /libavfilter/vf_subtitles.c | |
parent | b091df721050df77d537cee8156fe1a4406b1afb (diff) | |
download | ffmpeg-0086432fc72f6671d23ca67ede7e8bc18af7124e.tar.gz |
fftools, libavcodec, libavfilter: Add const to some AVCodec *
The user has no business modifying the underlying AVCodec.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavfilter/vf_subtitles.c')
-rw-r--r-- | libavfilter/vf_subtitles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_subtitles.c b/libavfilter/vf_subtitles.c index 08b4d4efca..de74afa2b7 100644 --- a/libavfilter/vf_subtitles.c +++ b/libavfilter/vf_subtitles.c @@ -302,7 +302,7 @@ static av_cold int init_subtitles(AVFilterContext *ctx) AVDictionary *codec_opts = NULL; AVFormatContext *fmt = NULL; AVCodecContext *dec_ctx = NULL; - AVCodec *dec = NULL; + const AVCodec *dec; const AVCodecDescriptor *dec_desc; AVStream *st; AVPacket pkt; |