mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-13 15:12:58 +00:00
ugly: Add more warning flags
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229>
This commit is contained in:
parent
4113101145
commit
06748d155c
3 changed files with 13 additions and 10 deletions
|
@ -2304,15 +2304,15 @@ gst_asf_demux_chain (GstPad * pad, GstObject * parent, GstBuffer * buf)
|
|||
GST_INFO_OBJECT (demux, "Chained asf starting");
|
||||
/* cleanup and get ready for a chained asf */
|
||||
gst_asf_demux_reset (demux, TRUE);
|
||||
/* fall through */
|
||||
}
|
||||
}
|
||||
/* FALLTHROUGH */
|
||||
case GST_ASF_DEMUX_STATE_HEADER:{
|
||||
ret = gst_asf_demux_chain_headers (demux);
|
||||
if (demux->state != GST_ASF_DEMUX_STATE_DATA)
|
||||
break;
|
||||
/* otherwise fall through */
|
||||
}
|
||||
/* FALLTHROUGH */
|
||||
case GST_ASF_DEMUX_STATE_DATA:
|
||||
{
|
||||
guint64 data_size;
|
||||
|
|
|
@ -595,14 +595,14 @@ gst_real_audio_demux_handle_buffer (GstRealAudioDemux * demux, GstBuffer * buf)
|
|||
ret = gst_real_audio_demux_parse_marker (demux);
|
||||
if (ret != GST_FLOW_OK || demux->state != REAL_AUDIO_DEMUX_STATE_HEADER)
|
||||
break;
|
||||
/* otherwise fall through */
|
||||
}
|
||||
/* FALLTHROUGH */
|
||||
case REAL_AUDIO_DEMUX_STATE_HEADER:{
|
||||
ret = gst_real_audio_demux_parse_header (demux);
|
||||
if (ret != GST_FLOW_OK || demux->state != REAL_AUDIO_DEMUX_STATE_DATA)
|
||||
break;
|
||||
/* otherwise fall through */
|
||||
}
|
||||
/* FALLTHROUGH */
|
||||
case REAL_AUDIO_DEMUX_STATE_DATA:{
|
||||
ret = gst_real_audio_demux_parse_data (demux);
|
||||
break;
|
||||
|
|
|
@ -244,19 +244,22 @@ else
|
|||
endif
|
||||
|
||||
warning_flags = [
|
||||
'-Wmissing-declarations',
|
||||
'-Wredundant-decls',
|
||||
'-Wwrite-strings',
|
||||
'-Waddress',
|
||||
'-Waggregate-return',
|
||||
'-Wformat',
|
||||
'-Wformat-nonliteral',
|
||||
'-Wformat-security',
|
||||
'-Wimplicit-fallthrough=3',
|
||||
'-Winit-self',
|
||||
'-Wmissing-declarations',
|
||||
'-Wmissing-include-dirs',
|
||||
'-Waddress',
|
||||
'-Wno-multichar',
|
||||
'-Wvla',
|
||||
'-Wpointer-arith',
|
||||
'-Waggregate-return',
|
||||
'-Wredundant-decls',
|
||||
'-Wshift-negative-value',
|
||||
'-Wtype-limits',
|
||||
'-Wvla',
|
||||
'-Wwrite-strings',
|
||||
'-fno-strict-aliasing',
|
||||
# Symbol visibility
|
||||
'-fvisibility=hidden',
|
||||
|
|
Loading…
Reference in a new issue