cog, schroedinger: fix warnings when compiling with -DG_DISABLE_ASSERT

This commit is contained in:
Tim-Philipp Müller 2011-01-08 03:12:11 +00:00
parent 62c289f71d
commit b9af27719d
5 changed files with 5 additions and 0 deletions

View file

@ -357,6 +357,7 @@ gst_cogdownsample_transform (GstBaseTransform * base_transform,
break;
default:
g_assert_not_reached ();
return GST_FLOW_ERROR;
}
frame = cog_virt_frame_new_unpack (frame);

View file

@ -126,6 +126,7 @@ gst_cog_buffer_wrap (GstBuffer * buf, GstVideoFormat format, int width,
break;
default:
g_assert_not_reached ();
return NULL;
}
cog_frame_set_free_callback (frame, gst_cog_frame_free, buf);

View file

@ -600,6 +600,7 @@ gst_schro_enc_get_caps (GstBaseVideoEncoder * base_video_encoder)
state->par_d, NULL);
} else {
g_assert_not_reached ();
caps = NULL;
}
return caps;

View file

@ -579,6 +579,7 @@ gst_schro_parse_get_caps (GstBaseVideoParse * base_video_parse)
state->par_d, NULL);
} else {
g_assert_not_reached ();
caps = NULL;
}
return caps;

View file

@ -95,6 +95,7 @@ gst_schro_buffer_wrap (GstBuffer * buf, GstVideoFormat format, int width,
#endif
default:
g_assert_not_reached ();
return NULL;
}
schro_frame_set_free_callback (frame, gst_schro_frame_free, buf);