From 4f1d7cc0ed66f4ab390631722a7daa660e55a0f3 Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Sat, 29 Dec 2012 19:27:07 +0100
Subject: [PATCH] bktr: fix warning: missing braces around initializer

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
---
 libavdevice/bktr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavdevice/bktr.c b/libavdevice/bktr.c
index e83c44ae295..d5f3d9f3307 100644
--- a/libavdevice/bktr.c
+++ b/libavdevice/bktr.c
@@ -101,7 +101,7 @@ static av_cold int bktr_init(const char *video_device, int width, int height,
     long ioctl_frequency;
     char *arg;
     int c;
-    struct sigaction act = { 0 }, old;
+    struct sigaction act = { {0} }, old;
 
     if (idev < 0 || idev > 4)
     {
-- 
GitLab