diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-12-16 01:04:12 +0100 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2019-12-23 14:05:47 +0800 |
commit | 53c1458bf2e91b2279985e5fc2ffaa5e2013564a (patch) | |
tree | 3ff52d61711a7d5bb442de454172185b47818ca4 /doc/examples/scaling_video.c | |
parent | 149ee954a32334902a20c6a1b58ac5fe91114ff6 (diff) | |
download | ffmpeg-53c1458bf2e91b2279985e5fc2ffaa5e2013564a.tar.gz |
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>
Diffstat (limited to 'doc/examples/scaling_video.c')
0 files changed, 0 insertions, 0 deletions