Re: [Libva] Empty union in VAEncMacroblockParameterBufferH264 compilation issues

2014-06-22 Thread Gwenole Beauchesne
Hi, 2014-06-23 3:06 GMT+02:00 Pawel Osciak : > 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

Re: [Libva] Empty union in VAEncMacroblockParameterBufferH264 compilation issues

2014-06-22 Thread Zhao, Yakui
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

[Libva] Empty union in VAEncMacroblockParameterBufferH264 compilation issues

2014-06-22 Thread Pawel Osciak
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 rem