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>
Tue, 17 Feb 2015 18:43:18 +0000 (19:43 +0100)
commit79d86b844f084b884363396da4ebb561e7c42a73
tree12c3b7309dd63de8b63c836fe85d68a33d75720d
parent3d8c51d699165b63f54af309686e27d311a16a59
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