Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-20 05:47:11 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-07-20 05:47:11 +0400
commite2c96fbf3e5c9ec239ad33cc9d8def598c1fdbde (patch)
tree2ceccf895d47520435238b460b0876282e6085c9 /ffplay.c
parentcdafec69cef73eb87d002cac521c1d6a015e3bc6 (diff)
ffplay: fix warning that i just mistakenly introduced
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index 778bc5b162..598ce749d5 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -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) {