Commit e2c96fbf authored by Michael Niedermayer's avatar Michael Niedermayer

ffplay: fix warning that i just mistakenly introduced

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent cdafec69
......@@ -1980,7 +1980,7 @@ static int audio_decode_frame(VideoState *is, double *pts_ptr)
}
if (is->swr_ctx) {
const uint8_t **in = is->frame->extended_data;
const uint8_t **in = (const uint8_t **)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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment