Commit Graph

6 Commits

Author SHA1 Message Date
Haihao Xiang 1bea64e121 Add '-Wall' or '-fstack-protector' compilation flags
In addition, this fixes all warnings reported by -Wall

Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
2018-06-05 14:18:03 +08:00
Haihao Xiang d084e2b359 Make sure there is no out-of-bound access
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
2018-03-19 16:18:23 +08:00
Victor Toso 9c129d7d0b tinyjpeg: remove 'old-style' to set struct's field
Fix 9 warnings of "use of GNU old-style field designator extension
[-Wgnu-designator]" while bulding with clang.

Signed-off-by: Victor Toso <victortoso@redhat.com>
2017-12-15 08:52:46 -08:00
Victor Toso a5a02107b2 tinyjpeg: Fix self-assign
This was introduced either as error or to avoid -Wunused-parameter
from compiler. Still, self-assign warning is part of -Wall while
unused-parameter is on -Wextra.

Let's prioritize -Wall

tinyjpeg.c:864:8: warning: explicitly assigning value of variable of
type 'struct jdec_private *' to itself [-Wself-assign]
  priv = priv;
  ~~~~ ^ ~~~~

Signed-off-by: Victor Toso <victortoso@redhat.com>
2017-12-15 08:52:46 -08:00
Victor Toso b3aa2311ca tinyjpeg: Use assigned variable
tinyjpeg.c: In function ‘parse_DHT’:
tinyjpeg.c:319:21: warning: variable ‘Th’ set but not used
   unsigned char Tc, Th;
                     ^~

Signed-off-by: Victor Toso <victortoso@redhat.com>
2017-12-15 08:52:46 -08:00
Daniel Charles c9af683d6c libva-utils: initial commit
libva-utils is a new git repository that will host sample applications
for libva, conformance tests and others relevant to libva

It is using the same version as libva and it should follow libva version.
It is intended to be released together with libva
It has the same license as libva

Initial functionality ports the vainfo application from libva repository.
The git history for it will remain on libva.  To port vainfo, also the
a common libva-display library was ported. The original tests for encoder
and decoder are also ported to this repository. debian folder for vainfo
was also ported

The basic tests are going to be substituted by a new set of tests based
on Gtest framework.

libva-utils will dynamically link libva, use pkg-config to compile and
link properly.

Signed-off-by: Daniel Charles <daniel.charles@intel.com>
2016-11-29 11:41:17 -08:00