Re: [FFmpeg-devel] Initialize `layout_map` on declaration

2020-08-30 Thread Michael Niedermayer
On Fri, Aug 28, 2020 at 01:00:41PM -0700, Xiaohan Wang (王消寒) wrote: > Resend with @chromium.org account. Sorry for the noise. i think clearing the array is a good idea independant of the bug. It makes bugs like this more repeatable and easier to debug for example and this should have 0 speed effec

Re: [FFmpeg-devel] Initialize `layout_map` on declaration

2020-08-28 Thread Jan Ekström
On Fri, Aug 28, 2020 at 11:01 PM Xiaohan Wang (王消寒) wrote: > > Resend with @chromium.org account. Sorry for the noise. I think something like this could be the underlying issue that got hit when the 22.2 check was too lax and set incorrect parameters earlier in the parsing process? What this defi

[FFmpeg-devel] Initialize `layout_map` on declaration

2020-08-28 Thread 王消寒
Resend with @chromium.org account. Sorry for the noise. From 3f9a085802bec62c9c7d35efcd30107e348c54d4 Mon Sep 17 00:00:00 2001 From: Xiaohan Wang Date: Fri, 28 Aug 2020 12:51:19 -0700 Subject: [PATCH] Initialize `layout_map` on declaration Without this change, it'll cause use-of-uninitialized-var