theoradec: remove the nonuse parameter from handle_type_packet() method
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Tue, 22 May 2012 22:49:49 +0000 (01:49 +0300)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 23 May 2012 08:16:25 +0000 (10:16 +0200)
ext/theora/gsttheoradec.c

index b9ab5e4..e63cfa6 100644 (file)
@@ -379,7 +379,7 @@ theora_handle_comment_packet (GstTheoraDec * dec, ogg_packet * packet)
 }
 
 static GstFlowReturn
-theora_handle_type_packet (GstTheoraDec * dec, ogg_packet * packet)
+theora_handle_type_packet (GstTheoraDec * dec)
 {
   gint par_num, par_den;
   GstFlowReturn ret = GST_FLOW_OK;
@@ -532,7 +532,7 @@ theora_handle_header_packet (GstTheoraDec * dec, ogg_packet * packet)
       res = theora_handle_comment_packet (dec, packet);
       break;
     case 0x82:
-      res = theora_handle_type_packet (dec, packet);
+      res = theora_handle_type_packet (dec);
       break;
     default:
       /* ignore */