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

This commit is contained in:
Diego Biurrun 2011-06-25 14:09:40 +02:00
parent 729f953fb5
commit c713620b4c
1 changed files with 1 additions and 3 deletions

View File

@ -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) {