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>
Sun, 14 May 2017 10:20:15 +0000 (12:20 +0200)
commit30f20c0b930190b216e416fd93141fd6578d7661
tree98dda6dbcca1f3b52a628812e006017adb8a6b2e
parent5e8786fc228f877157c17d3df326fc80674cdfa1
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>
(cherry picked from commit 23ae3cc822915ede2bb4e85047ab46cc5bc71268)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/oggparsedaala.c