schro: Fix usage of adapter_masked_scan_uint32
authorDavid Schleef <ds@schleef.org>
Sat, 23 May 2009 04:27:58 +0000 (21:27 -0700)
committerDavid Schleef <ds@schleef.org>
Sat, 23 May 2009 04:27:58 +0000 (21:27 -0700)
Because *somebody* changed the API without telling me.

ext/schroedinger/gstschrodec.c
ext/schroedinger/gstschroparse.c

index 09638c9..1dcca7a 100644 (file)
@@ -558,7 +558,7 @@ gst_schro_dec_scan_for_sync (GstBaseVideoDecoder * base_video_decoder,
 
   n_available -= 3;
 
-  return gst_adapter_masked_scan_uint32 (adapter, 0x42424344, 0xffffffff,
+  return gst_adapter_masked_scan_uint32 (adapter, 0xffffffff, 0x42424344,
       offset, MIN (n, n_available - 3));
 }
 
index 3e7cc45..d368a52 100644 (file)
@@ -311,7 +311,7 @@ gst_schro_parse_scan_for_sync (GstAdapter * adapter, gboolean at_eos,
 
   n_available -= 3;
 
-  return gst_adapter_masked_scan_uint32 (adapter, 0x42424344, 0xffffffff,
+  return gst_adapter_masked_scan_uint32 (adapter, 0xffffffff, 0x42424344,
       offset, MIN (n, n_available - 3));
 }