gst: silence some compiler warnings with -DG_DISABLE_ASSERT

This commit is contained in:
Tim-Philipp Müller 2012-08-08 15:23:27 +01:00
parent f7a4318b54
commit 7f7b4522fa
2 changed files with 2 additions and 0 deletions

View file

@ -60,6 +60,7 @@ asf_packet_read_varlen_int (guint lentype_flags, guint lentype_bit_offset,
val = GST_READ_UINT32_LE (*p_data);
break;
default:
val = 0;
g_assert_not_reached ();
}

View file

@ -2139,6 +2139,7 @@ gst_rmdemux_handle_scrambled_packet (GstRMDemux * rmdemux,
ret = gst_rmdemux_descramble_sipr_audio (rmdemux, stream);
break;
default:
ret = GST_FLOW_ERROR;
g_assert_not_reached ();
}