avcodec/h264: Fix race between slices where one overwrites data from the next
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 6 Apr 2015 22:40:21 +0000 (00:40 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Apr 2015 13:20:29 +0000 (15:20 +0200)
commit48f616ceeecd296e033456926fbfe7223a318759
tree36f03c83b72718fbf04fa7ab5ae3384f978b7b3f
parent8968de6c61935da8942f1d9a152412a7c2d0ddc5
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>
(cherry picked from commit 43b434210e597d484aef57c4139c3126d22b7e2b)

Conflicts:

libavcodec/h264.h
libavcodec/h264_slice.c
(cherry picked from commit dbbc42858e87cdd04e6c3b7694f8b394d4bfcdc6)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264.h
libavcodec/h264_slice.c