Commit c713620b authored by Diego Biurrun's avatar Diego Biurrun
Browse files

ffplay: Remove unused-but-set channels variable from update_sample_display().

parent 729f953f
......@@ -1895,9 +1895,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) {
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