This fixes the warning:
ffplay.c:1368:9: warning: missing braces around initializer [-Wmissing-braces]
---
 ffplay.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ffplay.c b/ffplay.c
index 50996df..d66249b 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1365,7 +1365,7 @@ static int queue_picture(VideoState *is, AVFrame 
*src_frame, double pts, int64_t
 
     /* if the frame is not skipped, then display it */
     if (vp->bmp) {
-        AVPicture pict = { 0 };
+        AVPicture pict = { { 0 } };
 #if CONFIG_AVFILTER
         if(vp->picref)
             avfilter_unref_buffer(vp->picref);
-- 
1.7.1

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to