diff options
author | Badiuzzaman Iskhandar <badiuzzaman.azzarfan.bin.iskhandar@intel.com> | 2018-09-12 13:13:22 +0800 |
---|---|---|
committer | XinfengZhang <carl.zhang@intel.com> | 2018-12-19 01:40:08 -0800 |
commit | f804f0ec3a9c06065ec194c0d888039a6083e6c1 (patch) | |
tree | ec2dbc6dd4af03e188b9ef7b4bd39d94faf60b5a /va/va_fool.c | |
parent | f2ddc03d0b8f6ba3bb143a086687f1ad386046c6 (diff) | |
download | libva-f804f0ec3a9c06065ec194c0d888039a6083e6c1.tar.gz |
Fix compilation warning (uninit and wrong variable types) for Android O MR1
Signed-off-by: Badiuzzaman Iskhandar <badiuzzaman.azzarfan.bin.iskhandar@intel.com>
Diffstat (limited to 'va/va_fool.c')
-rw-r--r-- | va/va_fool.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |