Commit 64591f8f authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '9eef9eb3'

* commit '9eef9eb3':
  h264: check that execute_decode_slices() is not called too many times

Conflicts:
	libavcodec/h264.c

The check is replaced by an assert() as the mb index should not ever go out
of bounds.
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents a60abb1e 9eef9eb3
......@@ -4675,6 +4675,8 @@ static int execute_decode_slices(H264Context *h, int context_count)
H264Context *hx;
int i;
av_assert0(h->mb_y < h->mb_height);
if (h->avctx->hwaccel ||
h->avctx->codec->capabilities & CODEC_CAP_HWACCEL_VDPAU)
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment