Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
av_free(curr);
curr = temp;
}
- av_fifo_free(fpc->fifo_buf);
+ av_fifo_freep(&fpc->fifo_buf);
av_free(fpc->wrap_buf);
}
pthread_mutex_destroy(&c->buffer_mutex);
pthread_cond_destroy(&c->task_fifo_cond);
pthread_cond_destroy(&c->finished_task_cond);
- av_fifo_free(c->task_fifo); c->task_fifo = NULL;
+ av_fifo_freep(&c->task_fifo);
av_freep(&avctx->internal->frame_thread_encoder);
}
vorbis_dsp_clear(&s->vd);
vorbis_info_clear(&s->vi);
- av_fifo_free(s->pkt_fifo);
+ av_fifo_freep(&s->pkt_fifo);
ff_af_queue_close(&s->afq);
av_freep(&avctx->extradata);