Re: [FFmpeg-devel] [PATCH v2] vaapi_encode_mjpeg: fix bad component id bug

2019-06-07 Thread Eoff, Ullysses A
> -Original Message- > From: Eoff, Ullysses A > Sent: Friday, June 07, 2019 2:11 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Eoff, Ullysses A > Subject: [PATCH v2] vaapi_encode_mjpeg: fix bad component id bug > > When compile time optimizations are enabled and > compiling with GNU GCC 9.x, the

[FFmpeg-devel] [PATCH v2] vaapi_encode_mjpeg: fix bad component id bug

2019-06-07 Thread U. Artie Eoff
When compile time optimizations are enabled and compiling with GNU GCC 9.x, the pointer assignment to the inline brace-enclosed list initialized array does not work and "component" ends up pointing to an empty/undefined array. Thus, all of the frame header component id's get assigned the same valu