mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-09-07 05:38:20 +02:00
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:
@@ -392,7 +392,8 @@ void cAudio::run()
|
|||||||
adevice = ao_open_live(driver, &sformat, NULL);
|
adevice = ao_open_live(driver, &sformat, NULL);
|
||||||
ai = ao_driver_info(driver);
|
ai = ao_driver_info(driver);
|
||||||
lt_info("%s: changed params ch %d srate %d bits %d adevice %p\n",
|
lt_info("%s: changed params ch %d srate %d bits %d adevice %p\n",
|
||||||
__func__, o_ch, o_sr, 16, adevice);;
|
__func__, o_ch, o_sr, 16, adevice);
|
||||||
|
if(ai)
|
||||||
lt_info("libao driver: %d name '%s' short '%s' author '%s'\n",
|
lt_info("libao driver: %d name '%s' short '%s' author '%s'\n",
|
||||||
driver, ai->name, ai->short_name, ai->author);
|
driver, ai->name, ai->short_name, ai->author);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user