From e7ba5b1de063e9b1de441b0d1c5708857f739fa5 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 5 Oct 2012 06:56:00 +0200 Subject: lavr: change the type of the data buffers to uint8_t**. This is more consistent with what the rest of Libav does. This breaks API. --- avplay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'avplay.c') diff --git a/avplay.c b/avplay.c index ead79f3c08..b1f2598451 100644 --- a/avplay.c +++ b/avplay.c @@ -1961,9 +1961,9 @@ static int audio_decode_frame(VideoState *is, double *pts_ptr) is->audio_buf1 = tmp_out; out_samples = avresample_convert(is->avr, - (void **)&is->audio_buf1, + &is->audio_buf1, out_linesize, nb_samples, - (void **)is->frame->data, + is->frame->data, is->frame->linesize[0], is->frame->nb_samples); if (out_samples < 0) { -- cgit v1.2.3