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

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Mon Jan 20 09:46:01 EET 2020


On Mon, Jan 20, 2020 at 8:35 AM Bodecs Bela <bodecsb at vivanet.hu> wrote:

> Dear All,
>
> This patch corrects compiler warning about returning possibly uninitialized
> variable in hls_write_header function.
>
> Which compiler warns about this?

Regarding the patch: It's probably better to explicitly return 0 at the end
of hls_write_header() (as well as dash_write_header()).

- Andreas


More information about the ffmpeg-devel mailing list