ffplay: try to fix build failure on apple

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-09-17 04:43:51 +02:00
parent 22a20dbb7a
commit 9ffa705edd

View File

@ -3241,7 +3241,7 @@ static void toggle_full_screen(VideoState *is)
/* OS X needs to reallocate the SDL overlays */ /* OS X needs to reallocate the SDL overlays */
int i; int i;
for (i = 0; i < VIDEO_PICTURE_QUEUE_SIZE; i++) for (i = 0; i < VIDEO_PICTURE_QUEUE_SIZE; i++)
is->pictq[i].reallocate = 1; is->pictq.queue[i].reallocate = 1;
#endif #endif
is_full_screen = !is_full_screen; is_full_screen = !is_full_screen;
video_open(is, 1, NULL); video_open(is, 1, NULL);