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

Eoff, Ullysses A ullysses.a.eoff at intel.com
Fri Jun 7 23:52:37 EEST 2019


> -----Original Message-----
> From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf Of Reimar Döffinger
> Sent: Friday, June 07, 2019 1:41 PM
> To: FFmpeg development discussions and patches <ffmpeg-devel at 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.eoff at 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 at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list