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>2011-05-05 00:14:22 +0400
committerMichael Niedermayer <michaelni@gmx.at>2011-05-05 01:33:59 +0400
commit705c65208ad3abbb6ddda1e84103d497f651a1dd (patch)
treef9e253eab5a719fce5eac9c3fe8a6501a30097bc /ffplay.c
parent5258f64a14713499cf84840b3ab3a1ee7cdcaeb8 (diff)
ffplay: removed unused variable channels.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ffplay.c b/ffplay.c
index 6a4b9d9156..303f713c40 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1937,9 +1937,7 @@ static int subtitle_thread(void *arg)
/* copy samples for viewing in editor window */
static void update_sample_display(VideoState *is, short *samples, int samples_size)
{
- int size, len, channels;
-
- channels = is->audio_st->codec->channels;
+ int size, len;
size = samples_size / sizeof(short);
while (size > 0) {