Some compiler warning fixes to satisfy XCode compiler

https://bugzilla.gnome.org/show_bug.cgi?id=720513
This commit is contained in:
Todd Agulnick 2013-12-15 21:17:26 -08:00 committed by Sebastian Dröge
parent 47d5c2b6d6
commit 4cc981de37
2 changed files with 2 additions and 1 deletions

View file

@ -1712,6 +1712,7 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
format = GST_AUDIO_FORMAT_U8;
break;
default:
format = 0;
g_assert (0); /* don't worry, we never get here */
break;
}

View file

@ -289,7 +289,7 @@ gst_ffmpegdeinterlace_chain (GstPad * pad, GstObject * parent,
GST_OBJECT_LOCK (deinterlace);
if (deinterlace->reconfigure) {
if (deinterlace->new_mode != -1)
if ((gint) deinterlace->new_mode != -1)
deinterlace->mode = deinterlace->new_mode;
deinterlace->new_mode = -1;