[vlc-devel] commit: Fixed potential race condition in clock. (Laurent Aimar )
git version control
git at videolan.org
Wed Jul 15 19:29:21 CEST 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Jul 14 02:03:30 2009 +0200| [fffc29ff8f65e37045209563f475096880d1f746] | committer: Laurent Aimar
Fixed potential race condition in clock.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fffc29ff8f65e37045209563f475096880d1f746
---
src/input/clock.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/input/clock.c b/src/input/clock.c
index 6c0e327..ab83325 100644
--- a/src/input/clock.c
+++ b/src/input/clock.c
@@ -396,7 +396,7 @@ int input_clock_ConvertTS( input_clock_t *cl,
/* Check ts validity */
if( i_ts_bound != INT64_MAX &&
- *pi_ts0 > VLC_TS_INVALID && *pi_ts0 >= mdate() + cl->i_pts_delay + i_ts_bound )
+ *pi_ts0 > VLC_TS_INVALID && *pi_ts0 >= mdate() + i_pts_delay + i_ts_bound )
return VLC_EGENERIC;
return VLC_SUCCESS;
More information about the vlc-devel
mailing list