[FFmpeg-devel] [PATCH] movenc: fix warning if CONFIG_AC3_PARSER not defined
Alfred E. Heggestad
alfred.heggestad at gmail.com
Thu Jul 4 11:15:42 EEST 2019
On 03/07/2019 21:28, Michael Niedermayer wrote:
> On Tue, Jul 02, 2019 at 02:19:37PM +0200, Alfred E. Heggestad wrote:
>> this patch fixes a compiler warning if CONFIG_AC3_PARSER is
>> not defined. The label 'end' is removed and all the code
>> use the label 'err' instead.
>
> What compiler warning (this should be in the commit message)
>
> "goto err" in the case where its not an error would require a comment
>
hi,
here is the compiler warning:
CC libavformat/movenc.o
libavformat/movenc.c:5536:1: warning: unused label 'end' [-Wunused-label]
end:
^~~~
1 warning generated.
compiler is clang 10.0.1 on OSX 10.14
/alfred
More information about the ffmpeg-devel
mailing list