diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-07-20 03:36:33 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-07-20 03:41:17 +0200 |
commit | cdafec69cef73eb87d002cac521c1d6a015e3bc6 (patch) | |
tree | 892478f81e8a9baa043901778bfeffc34292949b /ffplay.c | |
parent | 7e17389c1eef54a6fd72245b13959b5a91929f86 (diff) | |
download | ffmpeg-cdafec69cef73eb87d002cac521c1d6a015e3bc6.tar.gz |
ffplay: fix planar audio
This caused ALAC to fail since the last merge
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1980,7 +1980,7 @@ static int audio_decode_frame(VideoState *is, double *pts_ptr) } if (is->swr_ctx) { - const uint8_t *in[] = { is->frame->data[0] }; + const uint8_t **in = is->frame->extended_data; uint8_t *out[] = {is->audio_buf2}; int out_count = sizeof(is->audio_buf2) / is->audio_tgt.channels / av_get_bytes_per_sample(is->audio_tgt.fmt); if (wanted_nb_samples != is->frame->nb_samples) { |