baseparse: put the arguments of g_return_val_if_fail in the proper order

This commit is contained in:
Josep Torra 2011-08-25 23:06:56 +02:00
parent 1db007e5bb
commit ab3c6173b3

View file

@ -3289,9 +3289,9 @@ gst_base_parse_find_frame (GstBaseParse * parse, gint64 * pos,
GstBuffer *buf = NULL; GstBuffer *buf = NULL;
GstBaseParseFrame frame; GstBaseParseFrame frame;
g_return_val_if_fail (GST_FLOW_ERROR, pos != NULL); g_return_val_if_fail (pos != NULL, GST_FLOW_ERROR);
g_return_val_if_fail (GST_FLOW_ERROR, time != NULL); g_return_val_if_fail (time != NULL, GST_FLOW_ERROR);
g_return_val_if_fail (GST_FLOW_ERROR, duration != NULL); g_return_val_if_fail (duration != NULL, GST_FLOW_ERROR);
klass = GST_BASE_PARSE_GET_CLASS (parse); klass = GST_BASE_PARSE_GET_CLASS (parse);