summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmpcodecs/ve_x264.c2
-rw-r--r--libvo/vo_zr.c4
-rw-r--r--stream/stream_dvd.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/libmpcodecs/ve_x264.c b/libmpcodecs/ve_x264.c
index eeb39ba639..a53948ccac 100644
--- a/libmpcodecs/ve_x264.c
+++ b/libmpcodecs/ve_x264.c
@@ -76,7 +76,7 @@ static int encode_nals(uint8_t *buf, int size, x264_nal_t *nals, int nnal){
static int put_image(struct vf_instance_s *vf, mp_image_t *mpi, double pts);
static int encode_frame(struct vf_instance_s *vf, x264_picture_t *pic_in);
-void x264enc_set_param(m_option_t* opt, char* arg)
+void x264enc_set_param(const m_option_t* opt, char* arg)
{
static int initted = 0;
if(!initted) {
diff --git a/libvo/vo_zr.c b/libvo/vo_zr.c
index 98e5d07eb2..2271be256b 100644
--- a/libvo/vo_zr.c
+++ b/libvo/vo_zr.c
@@ -649,7 +649,7 @@ static int draw_slice(uint8_t *srcimg[], int stride[],
/* copied and adapted from vo_aa_parseoption */
int
-vo_zr_parseoption(m_option_t* conf, char *opt, char *param){
+vo_zr_parseoption(const m_option_t* conf, const char *opt, const char *param){
/* got an option starting with zr */
zr_info_t *zr = &zr_info[zr_parsing];
int i;
@@ -775,7 +775,7 @@ vo_zr_parseoption(m_option_t* conf, char *opt, char *param){
return ERR_NOT_AN_OPTION;
}
-void vo_zr_revertoption(m_option_t* opt,char* param) {
+void vo_zr_revertoption(const m_option_t* opt,const char* param) {
zr_info_t *zr = &zr_info[1];
zr_count = 1;
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c
index 11eab33d4c..9bf749ff79 100644
--- a/stream/stream_dvd.c
+++ b/stream/stream_dvd.c
@@ -156,7 +156,7 @@ static struct m_struct_st stream_opts = {
stream_opts_fields
};
-int dvd_parse_chapter_range(m_option_t *conf, const char *range) {
+int dvd_parse_chapter_range(const m_option_t *conf, const char *range) {
const char *s;
char *t;
if (!range)