зеркало из https://github.com/mozilla/gecko-dev.git
Bug 980052 - Compare the value and not the pointer when checking validity of the preferred sample rate in the OpenSL cubeb backend. r=kinetik
--HG-- extra : rebase_source : 4a65dffc002cd1fc1dc3fcf2b5472ba44196fbbc
This commit is contained in:
Родитель
7a8df8647d
Коммит
af14f6811a
|
@ -278,7 +278,7 @@ opensl_get_preferred_sample_rate(cubeb * ctx, uint32_t * rate)
|
|||
* a non-error return value, especially if the audio system is not
|
||||
* ready/shutting down (i.e. when we can't get our hand on the AudioFlinger
|
||||
* thread). */
|
||||
if (rate == 0) {
|
||||
if (*rate == 0) {
|
||||
return CUBEB_ERROR;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче