aiff: check block_align in aiff_read_packet
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Thu, 20 Oct 2016 18:08:15 +0000 (20:08 +0200)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Fri, 21 Oct 2016 17:40:59 +0000 (19:40 +0200)
commit93c39db5f1544d1220488cfeb93bfe812a52f374
treeb933eeacea9bcd08da765bda93d91897595eb230
parent4d92bd3ca2252b461b352bc2af3ebeabe5394715
aiff: check block_align in aiff_read_packet

It can be unset in avcodec_parameters_from_context and a value of 0
causes SIGFPE crashes.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavformat/aiffdec.c