GNOME Bugzilla – Bug 727970
videorate: remove dead code
Last modified: 2015-12-16 11:08:14 UTC
Created attachment 273999 [details] [review] remove dead code I'm not sure this is the right fix: it might be that the loop that increments count should not be always called at least once. It makes sense to put a frame last where the end time is though. The original patch is from 2008, and adds the whole bit of code, so this isn't a later-change-breaks-something.
Review of attachment 273999 [details] [review]: commit 033ce9b20d8e156f83419ec0e5ce5ae95d32a55b Author: Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> Date: Thu Apr 10 15:36:15 2014 +0100 videorate: remove dead code Since the loops increasing count from 0 are always run at least once (if count < 1), count will always be at least one when compared to the drop/dup conditions. Coverity 1139674