avcodec/dca_parser: avoid use of magic values
authorfoo86 <foobaz86@gmail.com>
Mon, 10 Jul 2017 14:11:38 +0000 (17:11 +0300)
committerJames Almer <jamrial@gmail.com>
Wed, 19 Jul 2017 00:04:58 +0000 (21:04 -0300)
commit07a7f08b1e4b4679a3f9a60ecc45cae5078bc414
tree3e2cd97d76307b237f5d2120d88617add7a92090
parent4b6c212e859f49360f50c4d67b999769cc7cc2c6
avcodec/dca_parser: avoid use of magic values

Duration computation can be simplified because number of PCM blocks is
only allowed to be a multiple of 8.

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/dca_parser.c