summaryrefslogtreecommitdiffstats
path: root/libavcodec/h264_slice.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-08-01 18:15:07 -0300
committerJames Almer <jamrial@gmail.com>2016-08-01 18:15:07 -0300
commit517dd04f6df3103a6f2bc20b43b956d055ad983f (patch)
tree68ec6cc818b6075ee1c88b100e502148ac51741f /libavcodec/h264_slice.c
parentfd4eb56528e1bf6529397051838a28d2a39d8e01 (diff)
parentbc7f4268514624e1286ea76d27a89a56b4ee18e1 (diff)
downloadffmpeg-streaming-517dd04f6df3103a6f2bc20b43b956d055ad983f.zip
ffmpeg-streaming-517dd04f6df3103a6f2bc20b43b956d055ad983f.tar.gz
Merge commit 'bc7f4268514624e1286ea76d27a89a56b4ee18e1'
* commit 'bc7f4268514624e1286ea76d27a89a56b4ee18e1': h264: drop tests whether the codec id is AV_CODEC_ID_H264 Conflicts: libavcodec/h264dec.c Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/h264_slice.c')
-rw-r--r--libavcodec/h264_slice.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c
index fcc8443..7d1817c 100644
--- a/libavcodec/h264_slice.c
+++ b/libavcodec/h264_slice.c
@@ -2349,7 +2349,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->avctx->active_thread_type & FF_THREAD_SLICE) && h->picture_structure == PICT_FRAME && h->slice_ctx[0].er.error_status_table) {
OpenPOWER on IntegriCloud