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

2019-06-07 Thread Eoff, Ullysses A
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of Mark > Thompson > Sent: Friday, June 07, 2019 1:47 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] vaapi_encode_mjpeg: WA: fix bad component > id b

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

2019-06-07 Thread Eoff, Ullysses A
> -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 > Subject: Re: [FFmpeg-devel] [PATCH] vaapi_encode_mjpeg: WA: fix b

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

2019-06-07 Thread Mark Thompson
On 07/06/2019 21:28, U. Artie Eoff 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

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

2019-06-07 Thread Reimar Döffinger
On 07.06.2019, at 22:28, "U. Artie Eoff" 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 bu

[FFmpeg-devel] [PATCH] vaapi_encode_mjpeg: WA: 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 array. This is probably a bug in GCC 9.x. This patch works around this issue by assigni