Commit b97a6de1 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Fix the cddax probing crash

parent 156dbc41
......@@ -100,6 +100,10 @@ static void
cdio_log_handler (cdio_log_level_t level, const char message[])
{
cdda_data_t *p_cdda = (cdda_data_t *)p_cdda_input->p_sys;
if( p_cdda == NULL )
return;
switch (level) {
case CDIO_LOG_DEBUG:
case CDIO_LOG_INFO:
......@@ -819,6 +823,8 @@ E_(CDDAOpen)( vlc_object_t *p_this )
vlc_bool_t b_single_track = false;
int i_rc = VLC_EGENERIC;
p_access->p_sys = NULL;
/* Set where to log errors messages from libcdio. */
p_cdda_input = p_access;
......
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