Mercurial > mplayer.hg
diff libmpcodecs/ad_msadpcm.c @ 5481:8ae2bf330ad5
control() done
author | arpi |
---|---|
date | Wed, 03 Apr 2002 21:37:26 +0000 |
parents | b3d1348b251f |
children | 7745d73a5f20 |
line wrap: on
line diff
--- a/libmpcodecs/ad_msadpcm.c Wed Apr 03 21:01:15 2002 +0000 +++ b/libmpcodecs/ad_msadpcm.c Wed Apr 03 21:37:26 2002 +0000 @@ -85,9 +85,12 @@ { } -static int control(sh_audio_t *sh,int cmd,void* arg, ...) +static int control(sh_audio_t *sh_audio,int cmd,void* arg, ...) { - // TODO!!! + if(cmd==ADCTRL_SKIP_FRAME){ + demux_read_data(sh_audio->ds, sh_audio->a_in_buffer,sh_audio->ds->ss_mul); + return CONTROL_TRUE; + } return CONTROL_UNKNOWN; }