Browse Source

Const correctness for vorbis_comment

Originally committed as revision 22474 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
David Conrad 15 years ago
parent
commit
533c30fced
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libavformat/oggdec.h
  2. +1
    -1
      libavformat/oggparsevorbis.c

+ 1
- 1
libavformat/oggdec.h View File

@@ -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)


+ 1
- 1
libavformat/oggparsevorbis.c View File

@@ -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;


Loading…
Cancel
Save