diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-06-25 14:09:40 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-06-25 14:11:33 +0200 |
commit | c713620b4c261e35522fc49394bc9ab5cc4ca27a (patch) | |
tree | 49bd3fd876486c538fc8bcb4a3d7df56756e8dea /ffplay.c | |
parent | 729f953fb5079ca09bbac391b824be454df029d6 (diff) | |
download | ffmpeg-c713620b4c261e35522fc49394bc9ab5cc4ca27a.tar.gz |
ffplay: Remove unused-but-set channels variable from update_sample_display().
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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) { |