Re: [FFmpeg-devel] [PATCH 2/2] Fix audiomatch complie warning

2016-08-25 Thread Michael Niedermayer
On Thu, Aug 25, 2016 at 09:06:42PM +0800, Steven Liu wrote: > Making sure bestpos is initialized to zero to prevent gcc from kvetching. > It's harmless (although it's not obvious that it's harmless) > from code inspection: > tests/audiomatch.c: In function ‘main’: > tests/audiomatch.c:40: warning:

[FFmpeg-devel] [PATCH 2/2] Fix audiomatch complie warning

2016-08-25 Thread Steven Liu
Making sure bestpos is initialized to zero to prevent gcc from kvetching. It's harmless (although it's not obvious that it's harmless) from code inspection: tests/audiomatch.c: In function ‘main’: tests/audiomatch.c:40: warning: ‘bestpos’ may be used uninitialized in this function Thanks to