avformat/mpc8: fix broken pointer math
authorwm4 <nfxjfg@googlemail.com>
Tue, 3 Feb 2015 18:04:11 +0000 (19:04 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 4 Feb 2015 00:05:26 +0000 (01:05 +0100)
commit55b75ece704395b5580dabcd3f426f51ed82ee3c
treeba8d25eba3b5894e64e5866b38e0aab61f979701
parent28f303542e90bc34f96e2e04af6f1b9e9b9d65ab
avformat/mpc8: fix broken pointer math

This could overflow and crash at least on 32 bit systems.

Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit b737a2c52857b214be246ff615c6293730033cfa)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mpc8.c