avformat/oggparsedaala: Check duration for AV_NOPTS_VALUE
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 1 Apr 2017 17:18:34 +0000 (19:18 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 1 Apr 2017 20:09:23 +0000 (22:09 +0200)
commit679a315424e6ffaafd21ebf7a86108bd4e743793
tree98ed2a68802ac0c30ba4f35cb92149d06e8b6730
parent5f23d8b405fa24496c909f373a1b28454740ef16
avformat/oggparsedaala: Check duration for AV_NOPTS_VALUE

This avoids an integer overflow
the solution matches oggparsevorbis.c and 45581ed15d2ad5955e24d809820c1675da68f500

Fixes: 700242

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