2020.01.20. 8:46 keltezéssel, Andreas Rheinhardt írta:
On Mon, Jan 20, 2020 at 8:35 AM Bodecs Bela <bode...@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?
libavformat/hlsenc.c: In function ‘hls_write_header’:
libavformat/hlsenc.c:2174: warning: ‘ret’ may be used uninitialized in
this function
gcc version 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC)
Regarding the patch: It's probably better to explicitly return 0 at the end
of hls_write_header() (as well as dash_write_header()).
I have no objection, but maybe in a separate patch?
- Andreas
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".