[FFmpeg-cvslog] bktr: fix warning: missing braces around initializer
Michael Niedermayer
git at videolan.org
Sat Dec 29 20:55:20 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Dec 29 19:27:07 2012 +0100| [4f1d7cc0ed66f4ab390631722a7daa660e55a0f3] | committer: Michael Niedermayer
bktr: fix warning: missing braces around initializer
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4f1d7cc0ed66f4ab390631722a7daa660e55a0f3
---
libavdevice/bktr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavdevice/bktr.c b/libavdevice/bktr.c
index e83c44a..d5f3d9f 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)
{
More information about the ffmpeg-cvslog
mailing list