avcodec/h264_slice: More complete cleanup in h264_slice_header_init()
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 21 Aug 2014 14:33:03 +0000 (16:33 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 17 Jun 2015 19:50:09 +0000 (21:50 +0200)
commitcea2106fb2e1fc541691ab9b3fe54000aeb14f19
tree0bb6c6495e45053cb69ac001d75a1d05fecd8409
parentc9c5bd8c89b6e3cc09e50c3b053cd8a083fbddc6
avcodec/h264_slice: More complete cleanup in h264_slice_header_init()

Fixes null pointer dereference
Fixes Ticket3873

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 1fa35e4352cc39894987e14de464e3d72b55739f)

Conflicts:

libavcodec/h264_slice.c
libavcodec/h264.c