Commit 80db30df authored by Laurent Aimar's avatar Laurent Aimar

Fixed a harmless typo (avformat).

parent 7dfc8992
...@@ -674,10 +674,9 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) ...@@ -674,10 +674,9 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
case DEMUX_GET_LENGTH: case DEMUX_GET_LENGTH:
pi64 = (int64_t*)va_arg( args, int64_t * ); pi64 = (int64_t*)va_arg( args, int64_t * );
if( p_sys->ic->duration != (int64_t)AV_NOPTS_VALUE ) if( p_sys->ic->duration != (int64_t)AV_NOPTS_VALUE )
{ *pi64 = p_sys->ic->duration * 1000000 / AV_TIME_BASE;
*pi64 = p_sys->ic->duration; else
} *pi64 = 0;
else *pi64 = 0;
return VLC_SUCCESS; return VLC_SUCCESS;
case DEMUX_GET_TIME: case DEMUX_GET_TIME:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment