aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-13 21:01:45 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-12-13 21:08:43 +0100
commit16b771b1f47daa9fec84477040984d83a92ba4a6 (patch)
treee48b9580b9e342f26005a3e96bf430d39cb4d289 /ffplay.c
parentb39e01a6e887745192da8c105ffac1f297b00da9 (diff)
downloadffmpeg-16b771b1f47daa9fec84477040984d83a92ba4a6.tar.gz
cleanup: for(int
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index c84dc2fd9a..e391754863 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2773,10 +2773,11 @@ static void stream_cycle_channel(VideoState *is, int codec_type)
static void toggle_full_screen(VideoState *is)
{
+ 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 */
- for (int i = 0; i < VIDEO_PICTURE_QUEUE_SIZE; i++) {
+ for (i = 0; i < VIDEO_PICTURE_QUEUE_SIZE; i++) {
is->pictq[i].reallocate = 1;
}
#endif