Do not divide by zero.
authorSakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Fri, 6 Aug 2010 13:03:35 +0000 (16:03 +0300)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 6 Aug 2010 13:15:50 +0000 (15:15 +0200)
commit0a0b2d15b73b68d2e6c8c2d9b1aef2ad61555128
tree8f9077c3db17858d228f5c492a84793461903db6
parentec31eb9d2562b6cc2af0d4eee8aeeed4fa2399eb
Do not divide by zero.

If only one buffer was processed the performance measurement calculation
caused a division by zero. Do not do show measurements if they are bad.

Signed-off-by: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
yavta.c