From f804f0ec3a9c06065ec194c0d888039a6083e6c1 Mon Sep 17 00:00:00 2001 From: Badiuzzaman Iskhandar Date: Wed, 12 Sep 2018 13:13:22 +0800 Subject: Fix compilation warning (uninit and wrong variable types) for Android O MR1 Signed-off-by: Badiuzzaman Iskhandar --- va/va_fool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'va/va_fool.c') diff --git a/va/va_fool.c b/va/va_fool.c index 9281129..e2729cc 100644 --- a/va/va_fool.c +++ b/va/va_fool.c @@ -265,7 +265,7 @@ VAStatus va_FoolBufferInfo( static int va_FoolFillCodedBufEnc(VADisplay dpy, struct fool_context *fool_ctx) { char file_name[1024]; - struct stat file_stat = {0}; + struct stat file_stat = {}; VACodedBufferSegment *codedbuf; int i, fd = -1; ssize_t ret; @@ -311,7 +311,7 @@ static int va_FoolFillCodedBufEnc(VADisplay dpy, struct fool_context *fool_ctx) static int va_FoolFillCodedBufJPG(VADisplay dpy, struct fool_context *fool_ctx) { - struct stat file_stat = {0}; + struct stat file_stat = {}; VACodedBufferSegment *codedbuf; int fd = -1; ssize_t ret; -- cgit v1.2.1