avcodec/aacps: Fix undefined behavior
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 5 May 2017 11:16:07 +0000 (13:16 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 5 May 2017 11:36:52 +0000 (13:36 +0200)
commit527f89e05922e840083ac6d49eeb838b1e350dd4
tree2762cd1cb9f18efe47fe8a888d443893a2a24222
parent1f5b6c7e1ee604b1525b3ab84ea6e8817fe66f36
avcodec/aacps: Fix undefined behavior

Fixes: 1337/clusterfuzz-testcase-minimized-5212314171080704

Fixes the existence of a potentially invalid pointer intermediate

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/aacps.c