oggparseogm: check timing variables
authorAnton Khirnov <anton@khirnov.net>
Thu, 28 Nov 2013 09:54:35 +0000 (10:54 +0100)
committerReinhard Tartler <siretart@tauware.de>
Sun, 2 Feb 2014 17:48:58 +0000 (12:48 -0500)
commitb0db7a523df5ce5c5bcfb21d64a8f2a5fdcd5b42
treeb10f68c9cac625346ea28ea5331746fa7b00137b
parente03b875c0b57d458d3fc693b37b01615fc7283e7
oggparseogm: check timing variables

Fixes a potential divide by zero.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
(cherry picked from commit 75647dea6f7db79b409bad66a119f5c73da730f3)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit bf7c240a50f8ed99a42e08bb7a8a70262cce34ad)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavformat/oggparseogm.c