mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-29 16:31:12 +02:00
- generic-pc/audio: fix segfault in getAudioInfo() function
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -239,7 +239,7 @@ void cAudio::getAudioInfo(int &type, int &layer, int &freq, int &bitrate, int &m
|
||||
}
|
||||
}
|
||||
lt_debug("%s t: %d l: %d f: %d b: %d m: %d codec_id: %x\n",
|
||||
__func__, type, layer, freq, bitrate, mode, c->codec_id);
|
||||
__func__, type, layer, freq, bitrate, mode, c ? c->codec_id : 0);
|
||||
};
|
||||
|
||||
void cAudio::SetSRS(int /*iq_enable*/, int /*nmgr_enable*/, int /*iq_mode*/, int /*iq_level*/)
|
||||
|
Reference in New Issue
Block a user