mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 03:56:16 +00:00
libav: Add more warning flags
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229>
This commit is contained in:
parent
2cb0f6b265
commit
eca10c0461
2 changed files with 16 additions and 11 deletions
|
@ -1775,9 +1775,8 @@ gst_ffmpegdemux_sink_event (GstPad * sinkpad, GstObject * parent,
|
||||||
gst_clear_tag_list (&upstream_tags);
|
gst_clear_tag_list (&upstream_tags);
|
||||||
event = gst_event_new_tag (tags);
|
event = gst_event_new_tag (tags);
|
||||||
gst_event_set_seqnum (event, seqnum);
|
gst_event_set_seqnum (event, seqnum);
|
||||||
|
|
||||||
/* fall through */
|
|
||||||
}
|
}
|
||||||
|
/* FALLTHROUGH */
|
||||||
default:
|
default:
|
||||||
/* for a serialized event, wait until an earlier data is gone,
|
/* for a serialized event, wait until an earlier data is gone,
|
||||||
* though this is no guarantee as to when task is done with it.
|
* though this is no guarantee as to when task is done with it.
|
||||||
|
|
|
@ -195,23 +195,29 @@ else
|
||||||
message('GStreamer debug system is enabled')
|
message('GStreamer debug system is enabled')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# NOTE: Keep entries alphabetically sorted
|
||||||
warning_flags = [
|
warning_flags = [
|
||||||
'-Wmissing-declarations',
|
'-Waddress',
|
||||||
'-Wmissing-prototypes',
|
'-Waggregate-return',
|
||||||
'-Wold-style-definition',
|
|
||||||
'-Wredundant-decls',
|
|
||||||
'-Wundef',
|
|
||||||
'-Wwrite-strings',
|
|
||||||
'-Wformat',
|
'-Wformat',
|
||||||
'-Wformat-nonliteral',
|
'-Wformat-nonliteral',
|
||||||
'-Wformat-security',
|
'-Wformat-security',
|
||||||
|
'-Wimplicit-fallthrough=3',
|
||||||
'-Winit-self',
|
'-Winit-self',
|
||||||
|
'-Wmissing-declarations',
|
||||||
'-Wmissing-include-dirs',
|
'-Wmissing-include-dirs',
|
||||||
'-Waddress',
|
'-Wmissing-parameter-type',
|
||||||
|
'-Wmissing-prototypes',
|
||||||
'-Wno-multichar',
|
'-Wno-multichar',
|
||||||
'-Waggregate-return',
|
'-Wold-style-definition',
|
||||||
'-Wvla',
|
|
||||||
'-Wpointer-arith',
|
'-Wpointer-arith',
|
||||||
|
'-Wredundant-decls',
|
||||||
|
'-Wredundant-decls',
|
||||||
|
'-Wshift-negative-value',
|
||||||
|
'-Wtype-limits',
|
||||||
|
'-Wundef',
|
||||||
|
'-Wvla',
|
||||||
|
'-Wwrite-strings',
|
||||||
]
|
]
|
||||||
|
|
||||||
foreach extra_arg : warning_flags
|
foreach extra_arg : warning_flags
|
||||||
|
|
Loading…
Reference in a new issue