vf_hwupload_cuda: Fix build error
authorMark Thompson <sw@jkqxz.net>
Thu, 3 Nov 2016 16:33:25 +0000 (16:33 +0000)
committerDiego Biurrun <diego@biurrun.de>
Thu, 3 Nov 2016 16:43:55 +0000 (17:43 +0100)
Broken by e3fb74f7f9a8f1895381355f40c92cac3c1023d9.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavfilter/vf_hwupload_cuda.c

index 94d5013..b5631c2 100644 (file)
@@ -151,7 +151,7 @@ static int cudaupload_config_output(AVFilterLink *outlink)
 static int cudaupload_filter_frame(AVFilterLink *link, AVFrame *in)
 {
     AVFilterContext   *ctx = link->dst;
-    CudaUploadContext   *s = ctx->priv;
+    AVFilterLink  *outlink = ctx->outputs[0];
 
     AVFrame *out = NULL;
     int ret;