aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/oggparsevorbis.c
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2010-03-12 05:16:47 +0000
committerDavid Conrad <lessen42@gmail.com>2010-03-12 05:16:47 +0000
commit533c30fcedd56a8a1146ef09e9e2a8a471ffd321 (patch)
treefe5c5a98d93bd9ecb586e3e8f1820efdb62b2be9 /libavformat/oggparsevorbis.c
parentb53cde48bdc807fe5126eee7dc116812c6607974 (diff)
downloadffmpeg-533c30fcedd56a8a1146ef09e9e2a8a471ffd321.tar.gz
Const correctness for vorbis_comment
Originally committed as revision 22474 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/oggparsevorbis.c')
-rw-r--r--libavformat/oggparsevorbis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/oggparsevorbis.c b/libavformat/oggparsevorbis.c
index a2e057edab..15463283e3 100644
--- a/libavformat/oggparsevorbis.c
+++ b/libavformat/oggparsevorbis.c
@@ -42,7 +42,7 @@ const AVMetadataConv ff_vorbiscomment_metadata_conv[] = {
};
int
-ff_vorbis_comment(AVFormatContext * as, AVMetadata **m, uint8_t *buf, int size)
+ff_vorbis_comment(AVFormatContext * as, AVMetadata **m, const uint8_t *buf, int size)
{
const uint8_t *p = buf;
const uint8_t *end = buf + size;