]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/error_resilience.c
lavfi/paletteuse: fix to support transparency
[ffmpeg] / libavcodec / error_resilience.c
index 5364940e9466c44fd204bd9b8dfc4175435d2d42..0c7f29d171e0575eccf84fedafc6e038da01fa22 100644 (file)
@@ -814,9 +814,6 @@ void ff_er_frame_start(ERContext *s)
 static int er_supported(ERContext *s)
 {
     if(s->avctx->hwaccel && s->avctx->hwaccel->decode_slice           ||
-#if FF_API_CAP_VDPAU
-       s->avctx->codec->capabilities&AV_CODEC_CAP_HWACCEL_VDPAU          ||
-#endif
        !s->cur_pic.f                                                  ||
        s->cur_pic.field_picture
     )