summaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-04-07 00:40:21 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-07 00:40:21 +0200
commit43b434210e597d484aef57c4139c3126d22b7e2b (patch)
treed7b975b0a4803f00932f9dfbe4b2be356cef6295 /libavcodec/h264.h
parent4ec5762e253c4d44618079a1b1afc37433bd99e7 (diff)
downloadffmpeg-streaming-43b434210e597d484aef57c4139c3126d22b7e2b.zip
ffmpeg-streaming-43b434210e597d484aef57c4139c3126d22b7e2b.tar.gz
avcodec/h264: Fix race between slices where one overwrites data from the next
Fixes non deterministic crash in ticket4408/fuzz2.264 Likely fixes other samples as well Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index e651d8a..dc68b69 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -411,6 +411,7 @@ typedef struct H264SliceContext {
int mb_xy;
int resync_mb_x;
int resync_mb_y;
+ int mb_index_end;
int mb_skip_run;
int is_complex;
OpenPOWER on IntegriCloud