summaryrefslogtreecommitdiff
path: root/libavcodec/h264_slice.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-01-27 12:31:24 +0100
committerAnton Khirnov <anton@khirnov.net>2015-03-05 16:10:11 +0100
commitad786dd450f26ecfbd35bb26e8b149664ecde049 (patch)
tree1ee48a2da4b8de4ac08e70caf70657bbb42445e0 /libavcodec/h264_slice.c
parentc73c3c34fe72bb06966450207917ce902146b172 (diff)
h264: remove a now redundant error check
It was only relevant when data partitioning was in use.
Diffstat (limited to 'libavcodec/h264_slice.c')
-rw-r--r--libavcodec/h264_slice.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c
index 48882190a2..6f22c87f6d 100644
--- a/libavcodec/h264_slice.c
+++ b/libavcodec/h264_slice.c
@@ -2338,12 +2338,6 @@ int ff_h264_execute_decode_slices(H264Context *h, unsigned context_count)
H264Context *hx;
int i;
- if (h->mb_y >= h->mb_height) {
- av_log(h->avctx, AV_LOG_ERROR,
- "Input contains more MB rows than the frame height.\n");
- return AVERROR_INVALIDDATA;
- }
-
if (h->avctx->hwaccel)
return 0;
if (context_count == 1) {