mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
gst: silence some compiler warnings with -DG_DISABLE_ASSERT
This commit is contained in:
parent
f7a4318b54
commit
7f7b4522fa
2 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,7 @@ asf_packet_read_varlen_int (guint lentype_flags, guint lentype_bit_offset,
|
||||||
val = GST_READ_UINT32_LE (*p_data);
|
val = GST_READ_UINT32_LE (*p_data);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
val = 0;
|
||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2139,6 +2139,7 @@ gst_rmdemux_handle_scrambled_packet (GstRMDemux * rmdemux,
|
||||||
ret = gst_rmdemux_descramble_sipr_audio (rmdemux, stream);
|
ret = gst_rmdemux_descramble_sipr_audio (rmdemux, stream);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
ret = GST_FLOW_ERROR;
|
||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue