summaryrefslogtreecommitdiff
path: root/gst/removesilence
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2019-02-05 23:53:17 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2019-02-06 00:10:28 +0530
commitfffb2aa12f1c9844a60bd58d43407f8ccfc2dbb0 (patch)
tree983c23c2af7561b3c038860d8b803acecb7212e4 /gst/removesilence
parent6c953438f5ad9ab78114bf3d9e5a6e9b1d913b80 (diff)
downloadgstreamer-plugins-bad-fffb2aa12f1c9844a60bd58d43407f8ccfc2dbb0.tar.gz
misc: Fix warnings on Cerbero MinGW
gstladspa.c:360:5: error: zero-length ms_printf format string [-Werror=format-zero-length] vad_private.c:108:3: error: this decimal constant is unsigned only in ISO C90 [-Werror] gstdecklinkvideosink.cpp:478:32: error: comparison between 'BMDTimecodeFormat {aka enum _BMDTimecodeFormat}' and 'enum GstDecklinkTimecodeFormat' [-Werror=enum-compare] win/DeckLinkAPI_i.c:72:8: error: extra tokens at end of #endif directive [-Werror] win/DeckLinkAPIDispatch.cpp:35:10: error: unused variable 'res' [-Werror=unused-variable] gstwasapiutil.c:733:3: error: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'DWORD' [-Werror=format] gstwasapiutil.c:733:3: error: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'guint64' [-Werror=format] kshelpers.c:446:3: error: missing braces around initializer [-Werror=missing-braces] kshelpers.c:446:3: error: (near initialization for 'known_property_sets[0].guid.Data4') [-Werror=missing-braces]
Diffstat (limited to 'gst/removesilence')
-rw-r--r--gst/removesilence/vad_private.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/removesilence/vad_private.c b/gst/removesilence/vad_private.c
index 369e18e6f..82bdb82a1 100644
--- a/gst/removesilence/vad_private.c
+++ b/gst/removesilence/vad_private.c
@@ -105,7 +105,7 @@ void
vad_set_threshold (struct _vad_s *p, gint threshold_db)
{
gint power = (gint) (threshold_db / 10.0);
- p->threshold = (guint64) (pow (10, (power)) * 4294967295);
+ p->threshold = (guint64) (pow (10, (power)) * 4294967295UL);
}
gint