From 4f1d7cc0ed66f4ab390631722a7daa660e55a0f3 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 29 Dec 2012 19:27:07 +0100 Subject: bktr: fix warning: missing braces around initializer Signed-off-by: Michael Niedermayer --- libavdevice/bktr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavdevice') diff --git a/libavdevice/bktr.c b/libavdevice/bktr.c index e83c44ae29..d5f3d9f330 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) { -- cgit v1.2.3