Commit 54f111da authored by Manuel Günther's avatar Manuel Günther

Used version number from sox header directly, not relying on command line.

parent c3130ab0
Pipeline #20961 passed with stage
in 22 minutes and 6 seconds
......@@ -30,9 +30,7 @@ static PyObject* py_sox_version() {
if (!retval) return 0;
auto retval_ = make_safe(retval);
# if defined(SOX_VERSION)
if (std::strlen(SOX_VERSION) && !dict_set(retval, "sox", SOX_VERSION)) return 0;
# endif
if (!dict_set(retval, "sox", sox_version_info()->version)) return 0;
return Py_BuildValue("O", retval);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment