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:06:09 +0000 (01:06 +0100)
commit49dd89f9027f3def12e170bb7d986d37812eedba
treeae83139fed0828175a089eb32062bcb70c669828
parentbdc4abd694a3234ef76d1f41a06e940d8fc9c0ed
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)

Conflicts:

libavformat/mpc8.c
libavformat/mpc8.c