comparison libao2/ao_mpegpes.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 382534a5a830
children 99798c3cdb93
comparison
equal deleted inserted replaced
9632:cf92beb331ab 9633:12b1790038b0
47 47
48 LIBAO_EXTERN(mpegpes) 48 LIBAO_EXTERN(mpegpes)
49 49
50 50
51 // to set/get/query special features/parameters 51 // to set/get/query special features/parameters
52 static int control(int cmd,int arg){ 52 static int control(int cmd,void *arg){
53 #ifdef HAVE_DVB 53 #ifdef HAVE_DVB
54 switch(cmd){ 54 switch(cmd){
55 case AOCONTROL_GET_VOLUME: 55 case AOCONTROL_GET_VOLUME:
56 if(vo_mpegpes_fd2>=0){ 56 if(vo_mpegpes_fd2>=0){
57 ((ao_control_vol_t*)(arg))->left=dvb_mixer.volume_left/2.56; 57 ((ao_control_vol_t*)(arg))->left=dvb_mixer.volume_left/2.56;