Commit 0d987536 authored by Thomas Guillem's avatar Thomas Guillem
Browse files

audiotrack: fix multiplication cast

parent 0578768e
......@@ -809,7 +809,7 @@ AudioTrack_New( JNIEnv *env, audio_output_t *p_aout,
i_clipped_time = VLC_CLIP( i_time, MIN_AUDIOTRACK_BUFFER_US,
MAX_AUDIOTRACK_BUFFER_US );
if( i_clipped_time != i_time )
i_size = i_rate * i_clipped_time * i_bytes_per_frame / CLOCK_FREQ;
i_size = (int)i_rate * i_clipped_time * i_bytes_per_frame / CLOCK_FREQ;
}
/* create AudioTrack object */
......
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