From e49e0f58e273237f83b4486f3536931ed1943d18 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 6 May 2015 11:12:55 +0200 Subject: h264: make sure the slices do not overlap during slice threading Based on a patch by Michael Niedermayer . CC: libav-stable@libav.org Found-by: Kieran Kunhya --- libavcodec/h264.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/h264.h') diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 12172ac7bc..624a761ded 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -374,6 +374,8 @@ typedef struct H264SliceContext { int mb_xy; int resync_mb_x; int resync_mb_y; + // index of the first MB of the next slice + int next_slice_idx; int mb_skip_run; int is_complex; -- cgit v1.2.3