Commit fc4f2673 authored by Clément Stenac's avatar Clément Stenac

Fix possible crash

parent f5946047
...@@ -247,7 +247,7 @@ static int Read( access_t *p_access, uint8_t *p_buffer, int i_len) ...@@ -247,7 +247,7 @@ static int Read( access_t *p_access, uint8_t *p_buffer, int i_len)
msg_Dbg( p_access, "opening directory `%s'", p_access->psz_path ); msg_Dbg( p_access, "opening directory `%s'", p_access->psz_path );
if( p_playlist->status.p_item->p_input == if( p_playlist->status.p_item && p_playlist->status.p_item->p_input ==
((input_thread_t *)p_access->p_parent)->input.p_item ) ((input_thread_t *)p_access->p_parent)->input.p_item )
{ {
p_item = p_playlist->status.p_item; p_item = p_playlist->status.p_item;
......
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