> -----Original Message----- > From: ffmpeg-devel [mailto:[email protected]] On Behalf Of > Reimar Döffinger > Sent: Friday, June 07, 2019 1:41 PM > To: FFmpeg development discussions and patches <[email protected]> > Subject: Re: [FFmpeg-devel] [PATCH] vaapi_encode_mjpeg: WA: fix bad component > id bug > > On 07.06.2019, at 22:28, "U. Artie Eoff" <[email protected]> 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 > [email protected] > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
