diff options
author | Max Kellermann <max@duempel.org> | 2011-03-16 23:37:41 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-03-16 23:37:41 +0100 |
commit | 4f293ecd6f4c7a07d72fbf0b9d0d454244b12c2a (patch) | |
tree | 830490ade657a93950dbcfba0e606dbaa5092af9 /src/audio_parser.c | |
parent | b6303313f0145c4caf58195ba4a85d2f4fa2967c (diff) | |
download | mpd-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/audio_parser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/audio_parser.c b/src/audio_parser.c index 039ffa1ab..ca5182c4a 100644 --- a/src/audio_parser.c +++ b/src/audio_parser.c @@ -192,6 +192,7 @@ audio_format_parse(struct audio_format *dest, const char *src, } audio_format_init(dest, rate, sample_format, channels); + assert(audio_format_valid(dest)); return true; } |