[vlc-devel] commit: Timeshift: fix crash on I/O error (CID#157) ( Rémi Denis-Courmont )
git version control
git at videolan.org
Mon Oct 6 15:46:43 CEST 2008
vlc | branch: 0.9-bugfix | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Oct 5 16:54:40 2008 +0300| [3848df3001cd0de7bbe7c119cfb74a9041e895b4] | committer: Derk-Jan Hartman
Timeshift: fix crash on I/O error (CID#157)
(cherry picked from commit 636a434c6245dc36b6d1af30cc1a14569fdcb621)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3848df3001cd0de7bbe7c119cfb74a9041e895b4
---
modules/access_filter/timeshift.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/access_filter/timeshift.c b/modules/access_filter/timeshift.c
index 6567e22..b943e90 100644
--- a/modules/access_filter/timeshift.c
+++ b/modules/access_filter/timeshift.c
@@ -298,7 +298,8 @@ static void* Thread( vlc_object_t* p_this )
block_Release( p_block );
p_block = NULL;
}
- p_block->i_buffer = i_read;
+ else
+ p_block->i_buffer = i_read;
}
if( p_block == NULL )
More information about the vlc-devel
mailing list