[vlc-devel] [PATCH 1/4] audiotrack: move variable in good scope

Jean-Baptiste Kempf jb at videolan.org
Sun Mar 8 23:58:12 CET 2015


Applied.

On 05 Mar, Thomas Guillem wrote :
> ---
>  modules/audio_output/audiotrack.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/modules/audio_output/audiotrack.c b/modules/audio_output/audiotrack.c
> index 7ac723a..8b19dfe 100644
> --- a/modules/audio_output/audiotrack.c
> +++ b/modules/audio_output/audiotrack.c
> @@ -475,12 +475,12 @@ JNIThread_TimeGet( JNIEnv *env, audio_output_t *p_aout, mtime_t *p_delay )
>      aout_sys_t *p_sys = p_aout->sys;
>      jlong i_frame_pos;
>      uint32_t i_audiotrack_delay = 0;
> -    mtime_t i_current_time = mdate();
>  
>      if( p_sys->i_samples_queued == 0 )
>          return -1;
>      if( p_sys->p_audioTimestamp )
>      {
> +        mtime_t i_current_time = mdate();
>          /* Android doc:
>           * getTimestamp: Poll for a timestamp on demand.
>           *
> -- 
> 2.1.3
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list