> -----Original Message----- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Reimar Döffinger > Sent: Friday, June 07, 2019 1:41 PM > To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] vaapi_encode_mjpeg: WA: fix bad component > id bug > > On 07.06.2019, at 22:28, "U. Artie Eoff" <ullysses.a.e...@intel.com> wrote: > > > 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 array. This is probably a bug in GCC > > 9.x. > > This to me sounds like a serious enough bug that I'm tempted to suggest > blacklisting gcc 9 instead... > However the original code doesn't seem really proper to me. > Have you tried replacing (uint8_t[3]) by (const uint8_t[3])?
Yes I tried that but it didn't fix the issue. > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".