diff options
author | Max Kellermann <max@duempel.org> | 2011-07-03 14:57:56 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-07-03 14:57:56 +0200 |
commit | 6aa6a9c2727c863239d6396a40a781e98e922565 (patch) | |
tree | e67b32b7cf6cffdfc11f4a76db2d9ae190469453 /src/playlist_song.h | |
parent | 8d1c7ca2065444dfe2da432a30c95782e3ead48d (diff) | |
download | mpd-6aa6a9c2727c863239d6396a40a781e98e922565.tar.gz mpd-6aa6a9c2727c863239d6396a40a781e98e922565.tar.xz mpd-6aa6a9c2727c863239d6396a40a781e98e922565.zip |
decoder/flac: validate the sample rate when scanning the tag
Don't calculate the song duration when the sample rate is 0 (division
by zero crash).
Diffstat (limited to 'src/playlist_song.h')
0 files changed, 0 insertions, 0 deletions