Don't manipulate duration when it's AV_NOPTS_VALUE.
authorDale Curtis <dalecurtis@chromium.org>
Tue, 28 Nov 2017 22:26:55 +0000 (14:26 -0800)
committerJames Almer <jamrial@gmail.com>
Wed, 29 Nov 2017 03:52:27 +0000 (00:52 -0300)
commitc5fd57f483d2ad8e34551b78509f1e14136f73c0
treef265aba4281f7494e580f121546b3dd8685359fa
parenta3a0b5bd0aaae314619d5b41fb918aacd908a5ae
Don't manipulate duration when it's AV_NOPTS_VALUE.

This leads to signed integer overflow.

Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/oggparsevp8.c