]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_deinterlace_vaapi.c
avcodec/packet_internal: move the next pointer in PacketList to the top of the struct
[ffmpeg] / libavfilter / vf_deinterlace_vaapi.c
index 72d034981ab4cb8d0d91cc3fd39cd3b4c2770875..0e645f50f249cc980299451ea90239383703f496 100644 (file)
@@ -239,7 +239,7 @@ static int deint_vaapi_filter_frame(AVFilterLink *inlink, AVFrame *input_frame)
 
         err = av_frame_copy_props(output_frame, input_frame);
         if (err < 0)
-            return err;
+            goto fail;
 
         err = ff_vaapi_vpp_init_params(avctx, &params,
                                        input_frame, output_frame);
@@ -383,7 +383,7 @@ static const AVFilterPad deint_vaapi_outputs[] = {
     { NULL }
 };
 
-AVFilter ff_vf_deinterlace_vaapi = {
+const AVFilter ff_vf_deinterlace_vaapi = {
     .name           = "deinterlace_vaapi",
     .description    = NULL_IF_CONFIG_SMALL("Deinterlacing of VAAPI surfaces"),
     .priv_size      = sizeof(DeintVAAPIContext),