Re: [FFmpeg-devel] [PATCH] avformat/wavdec: Eliminate goto for clang -O0 DCE

2016-12-16 Thread Michael Niedermayer
On Thu, Dec 15, 2016 at 04:44:57PM -0800, Mark Harris wrote: > Clang is not able to eliminate the reference to ff_spdif_probe() when > there is a goto target in the same block and optimization is disabled. > > This fixes the following build failure on OS X: > ./configure --disable-everything --d

[FFmpeg-devel] [PATCH] avformat/wavdec: Eliminate goto for clang -O0 DCE

2016-12-15 Thread Mark Harris
Clang is not able to eliminate the reference to ff_spdif_probe() when there is a goto target in the same block and optimization is disabled. This fixes the following build failure on OS X: ./configure --disable-everything --disable-doc \ --enable-decoder=pcm_s16le --enable-demuxer=wav \