Commit f92cac88 authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf

audiotrack: move error check to good scope

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent b3be062f
......@@ -1342,9 +1342,9 @@ JNIThread( void *data )
i_buffer_offset = 0;
b_error = JNIThread_PreparePlay( env, p_aout, p_buffer )
!= VLC_SUCCESS;
if( b_error )
break;
}
if( b_error )
break;
b_error = JNIThread_Play( env, p_aout, p_buffer,
&i_buffer_offset,
&i_play_wait ) != VLC_SUCCESS;
......
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