On Thu, Jun 13, 2019 at 15:41:55 +, Eoff, Ullysses A wrote:
> According to comments in the gcc request, it looks like we
> could use " -fsanitize=address". Anyone care to test it
> out to see if it will work?
The AddressSanatizer does not make this a warning at compile time (or
perhaps it may
> -Original Message-
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of
> Andreas Rheinhardt
> Sent: Thursday, June 13, 2019 2:11 AM
> To: ffmpeg-devel@ffmpeg.org
> Subject: Re: [FFmpeg-devel] [PATCH v4] vaapi_encode_mjpeg: fix bad component
>
Dominik 'Rathann' Mierzejewski:
> On Friday, 07 June 2019 at 23:45, U. Artie Eoff wrote:
>> The compound literals assigned to "components"
>> only exist within the scope of the if/else
>> block (thanks Mark Thompson for the better
>> explanation).
>>
>> Thus, after this if/else block, "components"
On Friday, 07 June 2019 at 23:45, U. Artie Eoff wrote:
> The compound literals assigned to "components"
> only exist within the scope of the if/else
> block (thanks Mark Thompson for the better
> explanation).
>
> Thus, after this if/else block, "components"
> ends up pointing to an arbitrary/unde
On 07/06/2019 22:45, U. Artie Eoff wrote:
> The compound literals assigned to "components"
> only exist within the scope of the if/else
> block (thanks Mark Thompson for the better
> explanation).
>
> Thus, after this if/else block, "components"
> ends up pointing to an arbitrary/undefined
> array
> -Original Message-
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of
> Reimar Döffinger
> Sent: Friday, June 07, 2019 11:07 PM
> To: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] [PATCH v4] vaapi_encode_mjpeg: fix b
On 07.06.2019, at 23:45, "U. Artie Eoff" wrote:
> The compound literals assigned to "components"
> only exist within the scope of the if/else
> block (thanks Mark Thompson for the better
> explanation).
>
> Thus, after this if/else block, "components"
> ends up pointing to an arbitrary/undefined
The compound literals assigned to "components"
only exist within the scope of the if/else
block (thanks Mark Thompson for the better
explanation).
Thus, after this if/else block, "components"
ends up pointing to an arbitrary/undefined
array. With some compilers and depending on
optimization setti