diff options
author | Chad Fraleigh <chadf@triularity.org> | 2021-10-18 14:31:36 -0700 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-11-18 19:18:01 +0100 |
commit | a90e41c59028ae4d83df81ebf05261aae15194b5 (patch) | |
tree | 8b87c07dc4754dec78a3bda599e716e99ba9e7d1 /doc/examples/metadata.c | |
parent | e5367b481b5232182a4851dbd7fc5a7a5bd475de (diff) | |
download | ffmpeg-a90e41c59028ae4d83df81ebf05261aae15194b5.tar.gz |
doc/examples/metadata: 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 'doc/examples/metadata.c')
-rw-r--r-- | doc/examples/metadata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/metadata.c b/doc/examples/metadata.c index b6cfa6bd36..7c44009a24 100644 --- a/doc/examples/metadata.c +++ b/doc/examples/metadata.c @@ -34,7 +34,7 @@ int main (int argc, char **argv) { AVFormatContext *fmt_ctx = NULL; - AVDictionaryEntry *tag = NULL; + const AVDictionaryEntry *tag = NULL; int ret; if (argc != 2) { |