mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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>
This commit is contained in:
parent
33f15ab35d
commit
458afd2a0e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user