aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_control.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-03-16 23:37:41 +0100
committerMax Kellermann <max@duempel.org>2011-03-16 23:37:41 +0100
commit4f293ecd6f4c7a07d72fbf0b9d0d454244b12c2a (patch)
tree830490ade657a93950dbcfba0e606dbaa5092af9 /src/output_control.c
parentb6303313f0145c4caf58195ba4a85d2f4fa2967c (diff)
downloadmpd-4f293ecd6f4c7a07d72fbf0b9d0d454244b12c2a.tar.gz
mpd-4f293ecd6f4c7a07d72fbf0b9d0d454244b12c2a.tar.xz
mpd-4f293ecd6f4c7a07d72fbf0b9d0d454244b12c2a.zip
audio_format, output_thread: add more audio_format_valid() assertions
Diffstat (limited to '')
-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) {