diff --git a/subprojects/gst-plugins-ugly/gst/asfdemux/gstasfdemux.c b/subprojects/gst-plugins-ugly/gst/asfdemux/gstasfdemux.c index 3a6bc9a6b1..ef5f4f771d 100644 --- a/subprojects/gst-plugins-ugly/gst/asfdemux/gstasfdemux.c +++ b/subprojects/gst-plugins-ugly/gst/asfdemux/gstasfdemux.c @@ -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; diff --git a/subprojects/gst-plugins-ugly/gst/realmedia/rademux.c b/subprojects/gst-plugins-ugly/gst/realmedia/rademux.c index aface5007e..01b12f4ceb 100644 --- a/subprojects/gst-plugins-ugly/gst/realmedia/rademux.c +++ b/subprojects/gst-plugins-ugly/gst/realmedia/rademux.c @@ -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; diff --git a/subprojects/gst-plugins-ugly/meson.build b/subprojects/gst-plugins-ugly/meson.build index 85ee42b69e..51f0febe0d 100644 --- a/subprojects/gst-plugins-ugly/meson.build +++ b/subprojects/gst-plugins-ugly/meson.build @@ -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',