videotimecode: Fix various coverity issues
authorVivia Nikolaidou <vivia@toolsonair.com>
Wed, 17 Aug 2016 10:03:43 +0000 (13:03 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 17 Aug 2016 10:05:26 +0000 (13:05 +0300)
commit70149451ea6232b4887fe159ccc43a2f0edc6618
treebf861d5525713ff3a69be6775bb9b6b47f950447
parentd2e5361927f096c4fd08c45807f614d5d6f0cee0
videotimecode: Fix various coverity issues

Most of them are overflow related and false positives, but coverity can't know
that these can't overflow without us giving it more information. Add some
assertions for this.

One was an actual issue with flags comparison.

CIDs #1369051, #1369050, #1369049, #1369048, #1369045
gst-libs/gst/video/gstvideotimecode.c