[FFmpeg-cvslog] doc/examples/metadata: Constify values from av_dict_get()
Chad Fraleigh
git at videolan.org
Thu Nov 18 21:16:52 EET 2021
ffmpeg | branch: master | Chad Fraleigh <chadf at triularity.org> | Mon Oct 18 14:31:36 2021 -0700| [a90e41c59028ae4d83df81ebf05261aae15194b5] | committer: Andreas Rheinhardt
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 at triularity.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a90e41c59028ae4d83df81ebf05261aae15194b5
---
doc/examples/metadata.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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) {
More information about the ffmpeg-cvslog
mailing list