summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-01-15 13:27:45 +0100
committerStefano Sabatini <stefasab@gmail.com>2012-01-15 14:51:59 +0100
commitbb4c0abc7c9b13772847b9411aaad909afe8560f (patch)
tree84aca0d474982402d71d527d97753ee62c22863e
parent4ee03fef531b259420a4c6182bc68a11028bce6c (diff)
downloadffmpeg-streaming-bb4c0abc7c9b13772847b9411aaad909afe8560f.zip
ffmpeg-streaming-bb4c0abc7c9b13772847b9411aaad909afe8560f.tar.gz
ffplay: mark i variable in toggle_full_screen() as unused
Fix gcc warning: ffplay.c: In function ‘toggle_full_screen’: ffplay.c:2792:9: warning: unused variable ‘i’ [-Wunused-variable]
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index 749cfc7..4fd8b36 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2769,7 +2769,7 @@ static void stream_cycle_channel(VideoState *is, int codec_type)
static void toggle_full_screen(VideoState *is)
{
- int i;
+ av_unused int i;
is_full_screen = !is_full_screen;
#if defined(__APPLE__) && SDL_VERSION_ATLEAST(1, 2, 14)
/* OS X needs to reallocate the SDL overlays */
OpenPOWER on IntegriCloud