mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
ffplay: Remove unused-but-set channels variable from update_sample_display().
This commit is contained in:
parent
729f953fb5
commit
c713620b4c
4
ffplay.c
4
ffplay.c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user