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

2016-08-24 Thread Michael Niedermayer
On Wed, Aug 24, 2016 at 10:20:11PM +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] Fix audiomatch complie warning

2016-08-24 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