avformat/hlsenc: Fix return value from localtime_r failure
"If an error is detected, localtime_r() shall return a null pointer and set errno to indicate the error." Yet in case this happened in hls_init(), AVERROR(ENOMEM) has been returned. Signed-off-by:Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Reviewed-by:
Steven Liu <lq@onvideo.cn>
Showing
Please
register
or
sign in
to comment