summaryrefslogtreecommitdiff
path: root/libavfilter/vf_mp.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-28 17:00:01 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-28 17:00:01 +0100
commit458afd2a0e8af0c125c94b343fbd691f85b34207 (patch)
treeee81768d0443eb93c5662e80048dd01713acba1d /libavfilter/vf_mp.c
parent33f15ab35d1f87e5596abb4f2065ad076798fec7 (diff)
vf_mp: fix 'discards const qualifier from pointer target type'
args are not supposed to be changed by filters even if the argument is not marked as const. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_mp.c')
-rw-r--r--libavfilter/vf_mp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_mp.c b/libavfilter/vf_mp.c
index 772be343d0..6c87b3a8f0 100644
--- a/libavfilter/vf_mp.c
+++ b/libavfilter/vf_mp.c
@@ -702,7 +702,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
else
args = NULL;
#endif
- if(m->vf.info->vf_open(&m->vf, args)<=0){
+ if(m->vf.info->vf_open(&m->vf, (char*)args)<=0){
av_log(ctx, AV_LOG_ERROR, "vf_open() of %s with arg=%s failed\n", name, args);
return -1;
}