aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_control.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/output_control.c')
-rw-r--r--src/output_control.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/output_control.c b/src/output_control.c
index 161404f78..0823b667b 100644
--- a/src/output_control.c
+++ b/src/output_control.c
@@ -115,6 +115,7 @@ audio_output_open(struct audio_output *ao,
{
bool open;
+ assert(audio_format_valid(audio_format));
assert(mp != NULL);
if (ao->fail_timer != NULL) {