mirror of
https://github.com/mpv-player/mpv
synced 2025-01-14 02:51:26 +00:00
Move variable declaration to appropriate place
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22200 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7111287409
commit
6ca4e1b4e8
@ -82,9 +82,9 @@ static void uninit(struct af_instance_s* af)
|
||||
free(af->data->audio);
|
||||
free(af->data);
|
||||
if(af->setup){
|
||||
int i;
|
||||
af_resample_t *s = af->setup;
|
||||
if(s->avrctx) av_resample_close(s->avrctx);
|
||||
int i;
|
||||
for (i=0; i < AF_NCH; i++)
|
||||
free(s->in[i]);
|
||||
free(s);
|
||||
|
Loading…
Reference in New Issue
Block a user