typefindfunctions: minor cosmetic change
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 8 Feb 2012 19:34:57 +0000 (19:34 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 8 Feb 2012 19:34:57 +0000 (19:34 +0000)
Don't write < 1 when we mean == 0.

gst/typefind/gsttypefindfunctions.c

index 27823b6..bd8f97c 100644 (file)
@@ -2451,9 +2451,8 @@ h264_video_type_find (GstTypeFind * tf, gpointer unused)
     data_scan_ctx_advance (tf, &c, 1);
   }
 
-  if (good >= 2 && bad < 1) {
+  if (good >= 2 && bad == 0) {
     gst_type_find_suggest (tf, GST_TYPE_FIND_POSSIBLE, H264_VIDEO_CAPS);
-    return;
   }
 }