From: Tim-Philipp Müller Date: Wed, 8 Feb 2012 19:34:57 +0000 (+0000) Subject: typefindfunctions: minor cosmetic change X-Git-Tag: 1.19.3~511^2~6555^2~141 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc08c01935e59ac090dd2fbaa9c7fe1718eead08;p=platform%2Fupstream%2Fgstreamer.git typefindfunctions: minor cosmetic change Don't write < 1 when we mean == 0. --- diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index 27823b6..bd8f97c9 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -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; } }