summaryrefslogtreecommitdiff
path: root/fftools/cmdutils.c
diff options
context:
space:
mode:
authorChad Fraleigh <chadf@triularity.org>2021-10-18 15:27:01 -0700
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-11-18 19:43:32 +0100
commita185b526a9267923fb4e67f5fded90e359aea169 (patch)
tree4f526decfa8d99159e25ab6024af5176f170ff3d /fftools/cmdutils.c
parenta90e41c59028ae4d83df81ebf05261aae15194b5 (diff)
fftools: Constify values from av_dict_get()
Treat values returned from av_dict_get() as const, since they are internal to AVDictionary. Signed-off-by: Chad Fraleigh <chadf@triularity.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'fftools/cmdutils.c')
-rw-r--r--fftools/cmdutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
index 594eeef379..45322f8c71 100644
--- a/fftools/cmdutils.c
+++ b/fftools/cmdutils.c
@@ -2121,7 +2121,7 @@ AVDictionary *filter_codec_opts(AVDictionary *opts, enum AVCodecID codec_id,
AVFormatContext *s, AVStream *st, const AVCodec *codec)
{
AVDictionary *ret = NULL;
- AVDictionaryEntry *t = NULL;
+ const AVDictionaryEntry *t = NULL;
int flags = s->oformat ? AV_OPT_FLAG_ENCODING_PARAM
: AV_OPT_FLAG_DECODING_PARAM;
char prefix = 0;