mpegvideo: Fix undefined negative shifts in ff_init_block_index
authorLuca Barbato <lu_zero@gentoo.org>
Wed, 2 Mar 2016 23:52:23 +0000 (18:52 -0500)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Sat, 5 Mar 2016 13:26:36 +0000 (08:26 -0500)
commit7d4a1ff344cbf969ac648642a0fd8484fd5b8637
tree4f3c384d2a5a4d53a91f619cd2bd45395babd3da
parent1389b4c18d1042c196603ba66c25113bcee1738b
mpegvideo: Fix undefined negative shifts in ff_init_block_index

Found-by: gcc5-ubsan.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
libavcodec/mpegvideo.c