rmdec: validate block alignment
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Thu, 17 Nov 2016 21:46:40 +0000 (22:46 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Fri, 25 Nov 2016 21:21:44 +0000 (22:21 +0100)
commite00fec907ff89a370503ca0df9386819d3103c98
tree522056092c377434f9ac61dc759f4e5bcc34f4a2
parentd8364f4e1d0ca21bde85dab11b02823712dea97c
rmdec: validate block alignment

This fixes division by zero crashes.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit de4ded06366e5767d0af277a61d9a56b8c8f9c19)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavformat/rmdec.c