avcodec/h264_slice: replace assert by normal error check
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 1 Sep 2015 22:44:28 +0000 (00:44 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 1 Sep 2015 23:22:45 +0000 (01:22 +0200)
commit1376084dcbab53cbaea8047cf7ec85af3c8570ce
tree67701e35a04b18a7907b507b831f838ad940123b
parent3eae98c1ac705d3f820a1800e81960146a80c61c
avcodec/h264_slice: replace assert by normal error check

Fixes assertion failure
Fixes: c6075771557e4f3b7b74e63d2d24fb01/signal_sigabrt_7ffff6ac8cc9_133_cov_2853689970_CREDITS.FST

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/h264_slice.c