aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/oggenc.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/oggenc.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/oggenc.c')
-rw-r--r--libavformat/oggenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c
index fbd14fedf9..cc9a899a4c 100644
--- a/libavformat/oggenc.c
+++ b/libavformat/oggenc.c
@@ -308,7 +308,7 @@ static uint8_t *ogg_write_vorbiscomment(int64_t offset, int bitexact,
p0 = p;
p += offset;
- ff_vorbiscomment_write(&p, m, vendor, chapters, nb_chapters);
+ ff_vorbiscomment_write(&p, *m, vendor, chapters, nb_chapters);
if (framing_bit)
bytestream_put_byte(&p, 1);