From bc7f4268514624e1286ea76d27a89a56b4ee18e1 Mon Sep 17 00:00:00 2001
From: Anton Khirnov <anton@khirnov.net>
Date: Wed, 18 May 2016 14:33:33 +0200
Subject: h264: drop tests whether the codec id is AV_CODEC_ID_H264

Those are unused remnants of the old SVQ3 code.
---
 libavcodec/h264_slice.c | 1 -
 1 file changed, 1 deletion(-)

(limited to 'libavcodec/h264_slice.c')

diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c
index 376be278a1..eee222f71a 100644
--- a/libavcodec/h264_slice.c
+++ b/libavcodec/h264_slice.c
@@ -2111,7 +2111,6 @@ static int decode_slice(struct AVCodecContext *avctx, void *arg)
         sl->deblocking_filter = 0;
 
     sl->is_complex = FRAME_MBAFF(h) || h->picture_structure != PICT_FRAME ||
-                     avctx->codec_id != AV_CODEC_ID_H264 ||
                      (CONFIG_GRAY && (h->flags & AV_CODEC_FLAG_GRAY));
 
     if (h->ps.pps->cabac) {
-- 
cgit v1.2.3