Originally committed as revision 22474 to svn://svn.ffmpeg.org/ffmpeg/trunk
| ... | ... |
@@ -115,7 +115,7 @@ extern const struct ogg_codec ff_vorbis_codec; |
| 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) |
| ... | ... |
@@ -42,7 +42,7 @@ const AVMetadataConv ff_vorbiscomment_metadata_conv[] = {
|
| 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; |