[vlc-devel] commit: Timeshift: fix crash on I/O error (CID#157) ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Oct 5 15:54:58 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Oct 5 16:54:40 2008 +0300| [636a434c6245dc36b6d1af30cc1a14569fdcb621] | committer: Rémi Denis-Courmont
Timeshift: fix crash on I/O error (CID#157)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=636a434c6245dc36b6d1af30cc1a14569fdcb621
---
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 a1e353a..df48674 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