Commit 1e7dc94c authored by conrad's avatar conrad

Const correctness for vorbis_comment

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22474 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent aa0a31b7
......@@ -115,7 +115,7 @@ extern const struct ogg_codec ff_vorbis_codec;
extern const AVMetadataConv ff_vorbiscomment_metadata_conv[];
int ff_vorbis_comment(AVFormatContext *ms, AVMetadata **m, uint8_t *buf, int size);
int ff_vorbis_comment(AVFormatContext *ms, AVMetadata **m, const uint8_t *buf, int size);
static inline int
ogg_find_stream (struct ogg * ogg, int serial)
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment