summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-10-14 16:12:17 +0200
committerDudemanguy <random342@airmail.cc>2023-10-19 14:03:23 +0000
commit4e6325d012c2ef1cb15be6497a07e0def0614ba0 (patch)
tree622b5592f3a6ddc9e2ba16ecd5a3daf7b571f2d7 /stream
parent1ea1359a822e6eb23137d93c6261d96a3d257f08 (diff)
downloadmpv-4e6325d012c2ef1cb15be6497a07e0def0614ba0.tar.bz2
mpv-4e6325d012c2ef1cb15be6497a07e0def0614ba0.tar.xz
stream_cdda: suppress -Wstrict-prototypes from cdio
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_cdda.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/stream/stream_cdda.c b/stream/stream_cdda.c
index 0ad082c114..2ee1af3ddb 100644
--- a/stream/stream_cdda.c
+++ b/stream/stream_cdda.c
@@ -25,6 +25,8 @@
#define OLD_API
#endif
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wstrict-prototypes"
#ifdef OLD_API
#include <cdio/cdda.h>
#include <cdio/paranoia.h>
@@ -32,6 +34,7 @@
#include <cdio/paranoia/cdda.h>
#include <cdio/paranoia/paranoia.h>
#endif
+#pragma GCC diagnostic pop
#include <stdio.h>
#include <stdlib.h>