diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-10-05 06:56:00 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-10-05 13:49:44 +0200 |
commit | e7ba5b1de063e9b1de441b0d1c5708857f739fa5 (patch) | |
tree | 05490f4e375f626b667dfdb230d23266e39cdb0b /avplay.c | |
parent | 30223b3bf2ab1c55499d3d52a244221d24fcc784 (diff) | |
download | ffmpeg-e7ba5b1de063e9b1de441b0d1c5708857f739fa5.tar.gz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |