fix possible segfault

Origin commit data
------------------
Branch: master
Commit: 52b0aaaaf0
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-12-07 (Thu, 07 Dec 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2017-12-07 11:39:27 +01:00
committed by vanhofen
parent 95f762ba7b
commit 8285a56c0c

View File

@@ -392,8 +392,9 @@ void cAudio::run()
adevice = ao_open_live(driver, &sformat, NULL);
ai = ao_driver_info(driver);
lt_info("%s: changed params ch %d srate %d bits %d adevice %p\n",
__func__, o_ch, o_sr, 16, adevice);;
lt_info("libao driver: %d name '%s' short '%s' author '%s'\n",
__func__, o_ch, o_sr, 16, adevice);
if(ai)
lt_info("libao driver: %d name '%s' short '%s' author '%s'\n",
driver, ai->name, ai->short_name, ai->author);
}
#if 0