diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-04-20 02:35:32 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-04-20 02:35:32 +0400 |
commit | 9126fa8dd7f152f3b84fc7fabd6e5489c1d40176 (patch) | |
tree | 1066d5f1f3f7c48318cf60a2af81fb6e84d59711 /src/filters/source/ShoutcastSource | |
parent | a978f7ebc08e11bcd0b080c622f7d015fa65c77f (diff) |
revert r4443 and r4445
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4451 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/source/ShoutcastSource')
-rw-r--r-- | src/filters/source/ShoutcastSource/ShoutcastSource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filters/source/ShoutcastSource/ShoutcastSource.cpp b/src/filters/source/ShoutcastSource/ShoutcastSource.cpp index c09459e77..4f7a38c8a 100644 --- a/src/filters/source/ShoutcastSource/ShoutcastSource.cpp +++ b/src/filters/source/ShoutcastSource/ShoutcastSource.cpp @@ -671,9 +671,9 @@ bool CShoutcastStream::CShoutcastSocket::Connect(CUrl& url) str.MakeLower();
if (str.Find("icy 200 ok") >= 0) {
fOK = true;
- } else if (1 == sscanf_s(str, "icy-br:%d", &m_bitrate)) {
+ } else if (1 == sscanf(str, "icy-br:%d", &m_bitrate)) {
m_bitrate *= 1000;
- } else if (1 == sscanf_s(str, "icy-metaint:%d", &metaint)) {
+ } else if (1 == sscanf(str, "icy-metaint:%d", &metaint)) {
metaint = metaint;
}
str.Empty();
|