[FFmpeg-cvslog] h264: remove a now redundant error check
Anton Khirnov
git at videolan.org
Thu Mar 5 21:04:20 CET 2015
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Jan 27 12:31:24 2015 +0100| [ad786dd450f26ecfbd35bb26e8b149664ecde049] | committer: Anton Khirnov
h264: remove a now redundant error check
It was only relevant when data partitioning was in use.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ad786dd450f26ecfbd35bb26e8b149664ecde049
---
libavcodec/h264_slice.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c
index 4888219..6f22c87 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) {
More information about the ffmpeg-cvslog
mailing list