diff options
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/ad_libvorbis.c | 2 | ||||
-rw-r--r-- | libmpcodecs/ve_x264.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/ad_libvorbis.c b/libmpcodecs/ad_libvorbis.c index 637b4f669f..0b6ef3eac0 100644 --- a/libmpcodecs/ad_libvorbis.c +++ b/libmpcodecs/ad_libvorbis.c @@ -38,7 +38,7 @@ typedef struct ov_struct_st { #endif } ov_struct_t; -static int read_vorbis_comment( char* ptr, char* comment, char* format, ... ) { +static int read_vorbis_comment( char* ptr, const char* comment, const char* format, ... ) { va_list va; int clen, ret; diff --git a/libmpcodecs/ve_x264.c b/libmpcodecs/ve_x264.c index 16e3c98627..4c0d45d8c7 100644 --- a/libmpcodecs/ve_x264.c +++ b/libmpcodecs/ve_x264.c @@ -208,7 +208,7 @@ m_option_t x264encopts_conf[] = { }; static int parse_cqm(const char *str, uint8_t *cqm, int length, - h264_module_t *mod, char *matrix_name) { + h264_module_t *mod, const char *matrix_name) { int i; if (!str) return 0; for (i = 0; i < length; i++) { |