mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
build: fix werror build with newer gcc
In file included from ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gst.h:55, from ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/tag/tag.h:25, from ../gst/isomp4/qtdemux.c:56: In function ‘qtdemux_inspect_transformation_matrix’, inlined from ‘qtdemux_parse_trak’ at ../gst/isomp4/qtdemux.c:10676:5, inlined from ‘qtdemux_parse_tree’ at ../gst/isomp4/qtdemux.c:14210:5: ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gstinfo.h:645:5: error: ‘%s’ directive argument is null [-Werror=format-overflow=] 645 | gst_debug_log ((cat), (level), __FILE__, GST_FUNCTION, __LINE__, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 646 | (GObject *) (object), __VA_ARGS__); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gstinfo.h:1062:35: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’ 1062 | #define GST_DEBUG_OBJECT(obj,...) GST_CAT_LEVEL_LOG (GST_CAT_DEFAULT, GST_LEVEL_DEBUG, obj, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~ ../gst/isomp4/qtdemux.c:10294:5: note: in expansion of macro ‘GST_DEBUG_OBJECT’ 10294 | GST_DEBUG_OBJECT (qtdemux, "Transformation matrix rotation %s", | ^~~~~~~~~~~~~~~~ ../gst/isomp4/qtdemux.c: In function ‘qtdemux_parse_tree’: ../gst/isomp4/qtdemux.c:10294:64: note: format string is defined here 10294 | GST_DEBUG_OBJECT (qtdemux, "Transformation matrix rotation %s", | ^~
This commit is contained in:
parent
d7738da285
commit
5ffd733317
1 changed files with 1 additions and 1 deletions
|
@ -10292,7 +10292,7 @@ qtdemux_inspect_transformation_matrix (GstQTDemux * qtdemux,
|
|||
}
|
||||
|
||||
GST_DEBUG_OBJECT (qtdemux, "Transformation matrix rotation %s",
|
||||
rotation_tag);
|
||||
GST_STR_NULL (rotation_tag));
|
||||
if (rotation_tag != NULL) {
|
||||
if (*taglist == NULL)
|
||||
*taglist = gst_tag_list_new_empty ();
|
||||
|
|
Loading…
Reference in a new issue