mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +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 */
|
/* 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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user