avformat/oggparsedaala: Do not leave an invalid value in gpshift
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 1 Apr 2017 17:18:35 +0000 (19:18 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 1 Apr 2017 20:09:23 +0000 (22:09 +0200)
commit23ae3cc822915ede2bb4e85047ab46cc5bc71268
treea3d3b4c2bf0e1ffb33b3aebed5641585090285e4
parent679a315424e6ffaafd21ebf7a86108bd4e743793
avformat/oggparsedaala: Do not leave an invalid value in gpshift

Fixes: undefined behavior
Fixes: 702974

Found-by: Thomas Guilbert <tguilbert@google.com>
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/oggparsedaala.c