summaryrefslogtreecommitdiff
path: root/libavformat/matroskaenc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-04-28 03:03:36 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-05-03 12:45:01 +0200
commit704d7c9f4616d71db1a1baa0a1726c77a9957521 (patch)
treeabfc5d5e7fdfb048c34ddce48d5db951471d9ce4 /libavformat/matroskaenc.c
parentca0a38f2f7803ab8fa12913d0385d4c70f8d6345 (diff)
downloadffmpeg-704d7c9f4616d71db1a1baa0a1726c77a9957521.tar.gz
avformat/vorbiscomment: Replace AVDictionary ** by const AVDictionary *
ff_vorbiscomment_write() used an AVDictionary ** parameter for a dictionary whose contents ought to be written; yet this can be replaced by AVDictionary * since commit 042ca05f0fdc5f4d56a3e9b94bc9cd67bca9a4bc; and this in turn can be replaced by const AVDictionary * to indicate that the dictionary isn't modified; the latter also applies to ff_vorbiscomment_length(). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/matroskaenc.c')
-rw-r--r--libavformat/matroskaenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
index 87dff6ab7d..80ff341a90 100644
--- a/libavformat/matroskaenc.c
+++ b/libavformat/matroskaenc.c
@@ -643,7 +643,7 @@ static int put_flac_codecpriv(AVFormatContext *s, AVIOContext *pb,
AV_WB24(data + 1, len);
p = data + 4;
- ff_vorbiscomment_write(&p, &dict, vendor, NULL, 0);
+ ff_vorbiscomment_write(&p, dict, vendor, NULL, 0);
avio_write(pb, data, len + 4);