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>
Thu, 12 Feb 2015 16:10:36 +0000 (17:10 +0100)
commit352d17086fd00e48fa0885113abaedc58a40adc8
treeb7d5c736d8148ab7fc1168e7c5a2b404769aa95f
parent193440f5662cc7183798d7eba961f98075361dcd
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