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>
Wed, 17 May 2017 18:35:19 +0000 (20:35 +0200)
commited0c3290f86d929236a16c38de32c3c431b799e9
tree07634b45055856da3e87091d792100577c4cbdbe
parent98f93f5272ea3f159d9410ddfbba9ef51eebf838
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