]> git.sesse.net Git - vlc/blobdiff - modules/demux/live555.cpp
Fix typo
[vlc] / modules / demux / live555.cpp
index 418a6bfb0b66978f29fb78d264c29bf28be283a8..a57b1e28a26e8b789682f2eff99162414102c68a 100644 (file)
@@ -1149,7 +1149,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
                 /* Retrieve the duration if possible */
                 p_sys->i_npt_length = (int64_t)( p_sys->ms->playEndTime() * (double)1000000.0 );
 #else
-                p_sys->i_npt_lenght = (int64_t) -1;
+                p_sys->i_npt_length = (int64_t) -1;
 #endif
                 if( p_sys->i_npt_length < 0 )
                     p_sys->i_npt_length = -1;
@@ -1225,7 +1225,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
             /* Retrieve the duration if possible */
             p_sys->i_npt_length = (int64_t)( p_sys->ms->playEndTime() * (double)1000000.0 );
 #else
-            p_sys->i_npt_lenght = (int64_t) -1;
+            p_sys->i_npt_length = (int64_t) -1;
 #endif
             if( p_sys->i_npt_length < 0 )
                 p_sys->i_npt_length = -1;