]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_mp.c
vaapi: allow build against older VA-API 0.31.
[ffmpeg] / libavfilter / vf_mp.c
index 484572cb96eba15ab24ee136490071105bdfb1ad..374acac20f1b6c3f7944899682deb670b5eb96cc 100644 (file)
@@ -739,7 +739,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
 
     m->avfctx= ctx;
 
-    if(!args || 1!=sscanf(args, "%255[^:]", name)){
+    if(!args || 1!=sscanf(args, "%255[^:=]", name)){
         av_log(ctx, AV_LOG_ERROR, "Invalid parameter.\n");
         return AVERROR(EINVAL);
     }