From a90e41c59028ae4d83df81ebf05261aae15194b5 Mon Sep 17 00:00:00 2001 From: Chad Fraleigh Date: Mon, 18 Oct 2021 14:31:36 -0700 Subject: 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 Signed-off-by: Andreas Rheinhardt --- doc/examples/metadata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/examples') 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) { -- cgit v1.2.3