summaryrefslogtreecommitdiff
path: root/avplay.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-10-05 06:56:00 +0200
committerAnton Khirnov <anton@khirnov.net>2012-10-05 13:49:44 +0200
commite7ba5b1de063e9b1de441b0d1c5708857f739fa5 (patch)
tree05490f4e375f626b667dfdb230d23266e39cdb0b /avplay.c
parent30223b3bf2ab1c55499d3d52a244221d24fcc784 (diff)
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.
Diffstat (limited to 'avplay.c')
-rw-r--r--avplay.c4
1 files changed, 2 insertions, 2 deletions
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) {