]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_hwupload.c
avfitler/af_asoftclip: add hard type
[ffmpeg] / libavfilter / vf_hwupload.c
index 7c5dd497b0ea2e45160037947c06f39e38014e37..7f2aa90af3dcc53c5ff462c346ff09d45804af0f 100644 (file)
@@ -90,9 +90,9 @@ static int hwupload_query_formats(AVFilterContext *avctx)
         }
     }
 
-    if ((err = ff_formats_ref(input_formats, &avctx->inputs[0]->out_formats)) < 0 ||
+    if ((err = ff_formats_ref(input_formats, &avctx->inputs[0]->outcfg.formats)) < 0 ||
         (err = ff_formats_ref(ff_make_format_list(output_pix_fmts),
-                              &avctx->outputs[0]->in_formats)) < 0)
+                              &avctx->outputs[0]->incfg.formats)) < 0)
         goto fail;
 
     av_hwframe_constraints_free(&constraints);