Commit c713620b authored by Diego Biurrun's avatar Diego Biurrun

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

parent 729f953f
...@@ -1895,9 +1895,7 @@ static int subtitle_thread(void *arg) ...@@ -1895,9 +1895,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