Commit 3848df30 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Derk-Jan Hartman

Timeshift: fix crash on I/O error (CID#157)

(cherry picked from commit 636a434c)
parent 28273d56
...@@ -298,7 +298,8 @@ static void* Thread( vlc_object_t* p_this ) ...@@ -298,7 +298,8 @@ static void* Thread( vlc_object_t* p_this )
block_Release( p_block ); block_Release( p_block );
p_block = NULL; p_block = NULL;
} }
p_block->i_buffer = i_read; else
p_block->i_buffer = i_read;
} }
if( p_block == NULL ) if( p_block == NULL )
......
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