[Libva] Empty union in VAEncMacroblockParameterBufferH264 compilation issues

Zhao, Yakui yakui.zhao at intel.com
Sun Jun 22 21:31:51 PDT 2014


On Sun, 2014-06-22 at 19:06 -0600, Pawel Osciak wrote:
> Hi, 
> struct _VAEncMacroblockParameterBufferH264 in va_enc_h264.h contains
> an empty union, which as far as I know is a gcc extension and causes
> compilation errors, and may also cause problems in C++, where such
> constructs are of size 1 vs. size 0 in C.
> Is there a chance this could be fixed (union removed or members added)
> please?

Hi, Pawel
   
   Thanks for reporting this issue.
   Will you please help to point out which gcc version you are using
that will cause the issue you mentioned? BTW: what option is used?

Thanks.
    Yakui

> Thanks,
> Pawel




More information about the Libva mailing list