From 578ea75a9e4ac56e0bbbbe668700be756aa699f8 Mon Sep 17 00:00:00 2001 From: RĂ©mi Denis-Courmont Date: Thu, 25 Jul 2013 22:30:17 +0300 Subject: vdpau: remove old-style decoders Signed-off-by: Anton Khirnov --- libavcodec/error_resilience.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavcodec/error_resilience.c') diff --git a/libavcodec/error_resilience.c b/libavcodec/error_resilience.c index 4834b22baa..a07787a3ae 100644 --- a/libavcodec/error_resilience.c +++ b/libavcodec/error_resilience.c @@ -824,7 +824,6 @@ void ff_er_frame_end(ERContext *s) * though it should not crash if enabled. */ if (!s->avctx->err_recognition || s->error_count == 0 || s->avctx->hwaccel || - s->avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU || !s->cur_pic || s->cur_pic->field_picture || s->error_count == 3 * s->mb_width * (s->avctx->skip_top + s->avctx->skip_bottom)) { -- cgit v1.2.3