Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-14 00:01:45 +0400
committerMichael Niedermayer <michaelni@gmx.at>2011-12-14 00:47:01 +0400
commit834aef341d77d60edef92fe4270f7b1e223bc0a4 (patch)
tree6950a1377d135ee6620c4ccaa34b5789f50bf58d /ffplay.c
parent657737e58d65a1f1c10f1059231592a0a9ad652e (diff)
cleanup: for(int
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 16b771b1f47daa9fec84477040984d83a92ba4a6) 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 7ebe6f3b44..6af3df3300 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2776,10 +2776,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