vc1parse: Some compiler warning fixes to satisfy XCode compiler
authorTodd Agulnick <todd@agulnick.com>
Mon, 16 Dec 2013 05:05:31 +0000 (21:05 -0800)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 16 Dec 2013 15:53:25 +0000 (16:53 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=720513

gst/videoparsers/gstvc1parse.c

index 9868afa..060347e 100644 (file)
@@ -747,7 +747,7 @@ gst_vc1_parse_update_caps (GstVC1Parse * vc1parse)
         /* 0x0000000c */
         GST_WRITE_UINT32_BE (data + 20, 0x0000000c);
         /* structB */
-        if (vc1parse->level != -1)
+        if ((gint) vc1parse->level != -1)
           data[24] = (vc1parse->level << 5);
         else
           data[24] = 0x40;      /* Use HIGH level */