Revision 533c30fc

View differences:

libavformat/oggdec.h
115 115

  
116 116
extern const AVMetadataConv ff_vorbiscomment_metadata_conv[];
117 117

  
118
int ff_vorbis_comment(AVFormatContext *ms, AVMetadata **m, uint8_t *buf, int size);
118
int ff_vorbis_comment(AVFormatContext *ms, AVMetadata **m, const uint8_t *buf, int size);
119 119

  
120 120
static inline int
121 121
ogg_find_stream (struct ogg * ogg, int serial)
libavformat/oggparsevorbis.c
42 42
};
43 43

  
44 44
int
45
ff_vorbis_comment(AVFormatContext * as, AVMetadata **m, uint8_t *buf, int size)
45
ff_vorbis_comment(AVFormatContext * as, AVMetadata **m, const uint8_t *buf, int size)
46 46
{
47 47
    const uint8_t *p = buf;
48 48
    const uint8_t *end = buf + size;

Also available in: Unified diff