diff options
author | Max Kellermann <mk@cm4all.com> | 2008-11-20 12:45:17 +0100 |
---|---|---|
committer | Max Kellermann <mk@cm4all.com> | 2008-11-20 12:45:17 +0100 |
commit | 1f50146e29de5628540146fbbd9421b17dc8543d (patch) | |
tree | 359042b19a3dffac1f91a080b51893a723d96e17 /src/output/shout_plugin.c | |
parent | a8f69429b0a6492bdcb8b4d59a28c8ba90b45aed (diff) | |
download | mpd-1f50146e29de5628540146fbbd9421b17dc8543d.tar.gz mpd-1f50146e29de5628540146fbbd9421b17dc8543d.tar.xz mpd-1f50146e29de5628540146fbbd9421b17dc8543d.zip |
ogg: check the ov_read() return value before the vorbis_info evaluation
The ov_info() return value may be corrupt when ov_read() did not
return a positive value. First check for success, then check
ov_info().
Diffstat (limited to 'src/output/shout_plugin.c')
0 files changed, 0 insertions, 0 deletions