[FFmpeg-devel] [PATCH] avformat/hlsenc: compiler warning fix

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Tue Jan 21 00:19:06 EET 2020


On Mon, Jan 20, 2020 at 2:26 PM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:

> Am Mo., 20. Jan. 2020 um 14:18 Uhr schrieb Bodecs Bela <bodecsb at vivanet.hu
> >:
> > 2020.01.20. 14:02 keltezéssel, Carl Eugen Hoyos írta:
> > So why the warning did disappear?
>
> I believe newer compilers detect that hls->nb_varstreams cannot
> be zero.
>
>
I don't think so (a compiler has no way to find this out unless it is doing
an LTO-build).
It's probably that the warnings were overly aggressive and have been toned
down.

- Andreas


More information about the ffmpeg-devel mailing list