Commit 705c6520 authored by Michael Niedermayer's avatar Michael Niedermayer

ffplay: removed unused variable channels.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5258f64a
...@@ -1937,9 +1937,7 @@ static int subtitle_thread(void *arg) ...@@ -1937,9 +1937,7 @@ static int subtitle_thread(void *arg)
/* copy samples for viewing in editor window */ /* copy samples for viewing in editor window */
static void update_sample_display(VideoState *is, short *samples, int samples_size) static void update_sample_display(VideoState *is, short *samples, int samples_size)
{ {
int size, len, channels; int size, len;
channels = is->audio_st->codec->channels;
size = samples_size / sizeof(short); size = samples_size / sizeof(short);
while (size > 0) { while (size > 0) {
......
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