diff options
author | Max Kellermann <max@duempel.org> | 2011-04-12 08:11:33 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-04-12 08:11:33 +0200 |
commit | c2ada39fd3037a0f6180326ecb5fa5913b719326 (patch) | |
tree | 68c2f36831283553a5a2e12f2b4f3ad3dd91100f /src/audio_parser.c | |
parent | 77b6e275008743fbd27f423d42d92f74518a5b28 (diff) | |
parent | def2fe8805d575c4be403f1c28aac70d87759d55 (diff) | |
download | mpd-c2ada39fd3037a0f6180326ecb5fa5913b719326.tar.gz mpd-c2ada39fd3037a0f6180326ecb5fa5913b719326.tar.xz mpd-c2ada39fd3037a0f6180326ecb5fa5913b719326.zip |
Merge branch 'v0.16.x'
Conflicts:
NEWS
configure.ac
Diffstat (limited to 'src/audio_parser.c')
-rw-r--r-- | src/audio_parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audio_parser.c b/src/audio_parser.c index 1138c9588..80bf9a5d7 100644 --- a/src/audio_parser.c +++ b/src/audio_parser.c @@ -192,7 +192,8 @@ audio_format_parse(struct audio_format *dest, const char *src, } audio_format_init(dest, rate, sample_format, channels); - assert(audio_format_valid(dest)); + assert(mask ? audio_format_mask_valid(dest) + : audio_format_valid(dest)); return true; } |