avcodec/mpeg12dec: Do not call show_bits() with invalid bits
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 5 Nov 2015 23:56:04 +0000 (00:56 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 12 Nov 2015 01:55:47 +0000 (02:55 +0100)
commitb0b1b208f5c7cd783b58cd1527f65b20ff550ffe
tree76b7106f169c4b8c8de52b95f2f0a6a807b57ab4
parent6acf5ff1d3c5bb3cfcaa1847f8c26e3e3aead1bc
avcodec/mpeg12dec: Do not call show_bits() with invalid bits

Fixes assertion failure
Fixes: 63e50545709a6440d3d59f6426d58db9/signal_sigabrt_7ffff6ae7cc9_8189_3272a3010fd98ddf947c662bbde1ac13.ts

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 973c3dba27d0b1a88c70f6661b6a90d2f2e50665)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mpeg12dec.c