mirror of https://github.com/mpv-player/mpv
Remove useless cast
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25672 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3e3fcae6bf
commit
dfa7718673
|
@ -287,7 +287,7 @@ static int init(int rate, int channels, int format, int flags) {
|
||||||
jack_latency = (float)(jack_port_get_total_latency(client, ports[0]) +
|
jack_latency = (float)(jack_port_get_total_latency(client, ports[0]) +
|
||||||
jack_get_buffer_size(client)) / (float)rate;
|
jack_get_buffer_size(client)) / (float)rate;
|
||||||
callback_interval = 0;
|
callback_interval = 0;
|
||||||
buffer = (unsigned char *) malloc(BUFFSIZE);
|
buffer = malloc(BUFFSIZE);
|
||||||
|
|
||||||
ao_data.channels = channels;
|
ao_data.channels = channels;
|
||||||
ao_data.samplerate = rate;
|
ao_data.samplerate = rate;
|
||||||
|
|
Loading…
Reference in New Issue