ffplay: try to fix build failure on apple
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 17 Sep 2014 02:43:51 +0000 (04:43 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 17 Sep 2014 02:43:51 +0000 (04:43 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffplay.c

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