Mercurial > mplayer.hg
comparison libao2/pl_delay.c @ 9633:12b1790038b0
64bit libao2 fix by Jens Axboe <mplayer-dev@kernel.dk>
author | alex |
---|---|
date | Fri, 21 Mar 2003 16:42:50 +0000 |
parents | c4434bdf6e51 |
children | 6e35326c742f |
comparison
equal
deleted
inserted
replaced
9632:cf92beb331ab | 9633:12b1790038b0 |
---|---|
36 } pl_delay_t; | 36 } pl_delay_t; |
37 | 37 |
38 static pl_delay_t pl_delay={NULL,NULL,0,0,0,0}; | 38 static pl_delay_t pl_delay={NULL,NULL,0,0,0,0}; |
39 | 39 |
40 // to set/get/query special features/parameters | 40 // to set/get/query special features/parameters |
41 static int control(int cmd,int arg){ | 41 static int control(int cmd,void *arg){ |
42 switch(cmd){ | 42 switch(cmd){ |
43 case AOCONTROL_PLUGIN_SET_LEN: | 43 case AOCONTROL_PLUGIN_SET_LEN: |
44 if(pl_delay.data) | 44 if(pl_delay.data) |
45 free(pl_delay.data); | 45 free(pl_delay.data); |
46 pl_delay.len = ao_plugin_data.len; | 46 pl_delay.len = ao_plugin_data.len; |