video.c: use a break and a final warning instead of early returns
authorStefan Kost <ensonic@users.sf.net>
Mon, 23 May 2011 10:50:59 +0000 (13:50 +0300)
committerStefan Kost <ensonic@users.sf.net>
Mon, 23 May 2011 10:50:59 +0000 (13:50 +0300)
commit6e12954c6807b31281b97e7bd9be28398ff185e4
tree89cef7bfb1817194bf68f5954b642d1bb39b20a6
parent40273cf2d3bb9966d942f34735cf56537b5bed43
video.c: use a break and a final warning instead of early returns

Use breaks for case branches instead of return 0. We don't expect these to
happen anyway. Thus have a warning before the final return to make it easier to
see when things go out of sync.
gst-libs/gst/video/video.c