1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 23:32:26 +00:00

Make af_ladspa use new AF_FORMAT define that was introduced by Alex's

mega-patch.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14259 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ivo 2004-12-28 01:47:40 +00:00
parent 9297cd04bb
commit afb5908fa7

View File

@ -547,7 +547,7 @@ static int control(struct af_instance_s *af, int cmd, void *arg) {
af->data->rate = ((af_data_t*)arg)->rate;
af->data->nch = ((af_data_t*)arg)->nch;
af->data->format = AF_FORMAT_SI | AF_FORMAT_NE;
af->data->format = AF_FORMAT_S16_NE;
af->data->bps = 2;
/* arg->len is not set here yet, so init of buffers and connecting the