bktr: fix warning: missing braces around initializer
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 29 Dec 2012 18:27:07 +0000 (19:27 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 29 Dec 2012 18:27:07 +0000 (19:27 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavdevice/bktr.c

index e83c44a..d5f3d9f 100644 (file)
@@ -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)
     {