From: Antoine Cellerier Date: Mon, 19 Mar 2007 21:13:07 +0000 (+0000) Subject: Fix compilation on debian sid. Please check that we're using the appropriate version... X-Git-Tag: 0.9.0-test0~8098 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=dee7ee44a489bae313a11dac4f1c67dfe8e0e51e;p=vlc Fix compilation on debian sid. Please check that we're using the appropriate version numbers in the #ifs. --- diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp index 05ac84a82d..05cd775f6a 100644 --- a/modules/demux/live555.cpp +++ b/modules/demux/live555.cpp @@ -848,7 +848,7 @@ static int SessionsSetup( demux_t *p_demux ) delete iter; if( p_sys->i_track <= 0 ) i_return = VLC_EGENERIC; -#if (LIVEMEDIA_LIBRARY_VERSION_INT >= 1171929600) +#if (LIVEMEDIA_LIBRARY_VERSION_INT > 1171929600) /* Retrieve the starttime if possible */ p_sys->i_npt_start = (int64_t)( p_sys->ms->playStartTime() * (double)1000000.0 ); #else @@ -916,7 +916,7 @@ static int Play( demux_t *p_demux ) } #endif -#if (LIVEMEDIA_LIBRARY_VERSION_INT >= 1171929600) +#if (LIVEMEDIA_LIBRARY_VERSION_INT > 1171929600) /* Retrieve the starttime if possible */ p_sys->i_npt_start = (int64_t)( p_sys->ms->playStartTime() * (double)1000000.0 ); #else @@ -1131,7 +1131,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) msg_Dbg( p_demux, "set pos startseq: %u", p_sys->track[i]->i_start_seq ); } #endif -#if (LIVEMEDIA_LIBRARY_VERSION_INT >= 1171929600) +#if (LIVEMEDIA_LIBRARY_VERSION_INT > 1171929600) /* Retrieve the starttime if possible */ p_sys->i_npt_start = (int64_t)( p_sys->ms->playStartTime() * (double)1000000.0 ); #else @@ -1207,7 +1207,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) msg_Dbg( p_demux, "set pause startseq: %u", p_sys->track[i]->i_start_seq ); } #endif -#if (LIVEMEDIA_LIBRARY_VERSION_INT >= 1171929600) +#if (LIVEMEDIA_LIBRARY_VERSION_INT > 1171929600) /* Retrieve the starttime if possible */ p_sys->i_npt_start = (int64_t)( p_sys->ms->playStartTime() * (double)1000000.0 ); #else