theoradec: remove usless checking of return val.
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Mon, 21 May 2012 10:34:02 +0000 (13:34 +0300)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 24 May 2012 09:12:26 +0000 (11:12 +0200)
fixes https://bugzilla.gnome.org/show_bug.cgi?id=676525

ext/theora/gsttheoradec.c

index e63cfa6..51927ea 100644 (file)
@@ -711,8 +711,6 @@ theora_handle_data_packet (GstTheoraDec * dec, ogg_packet * packet,
     goto wrong_dimensions;
 
   result = theora_handle_image (dec, buf, frame);
-  if (result != GST_FLOW_OK)
-    return result;
 
   return result;