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,6 +298,7 @@ static void* Thread( vlc_object_t* p_this ) ...@@ -298,6 +298,7 @@ static void* Thread( vlc_object_t* p_this )
block_Release( p_block ); block_Release( p_block );
p_block = NULL; p_block = NULL;
} }
else
p_block->i_buffer = i_read; p_block->i_buffer = i_read;
} }
......
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