summaryrefslogtreecommitdiff
path: root/libavdevice
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-29 19:27:07 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-29 19:27:07 +0100
commit4f1d7cc0ed66f4ab390631722a7daa660e55a0f3 (patch)
tree5586735f90ae9b9dc47d626f5dfb59f4b1b75a04 /libavdevice
parent925c9f444fc9972f3364cd44e7c9dd9250f772c3 (diff)
downloadffmpeg-4f1d7cc0ed66f4ab390631722a7daa660e55a0f3.tar.gz
bktr: fix warning: missing braces around initializer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/bktr.c2
1 files changed, 1 insertions, 1 deletions
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)
{