Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2016-11-18 12:56:01 +0300
committerLuca Barbato <lu_zero@gentoo.org>2016-11-18 13:18:58 +0300
commit3c7fa8cbb93dba96acb12aef6e00d929c1da1ae8 (patch)
tree49160a52711d59f3af6dc41cca220e54f374eb9a /libavformat
parent0b5a26e8bcd219efe5da3a6d39b588fabf91f2b9 (diff)
hlsenc: Fix the openssl support
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/hlsenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 5eebec8511..625531b881 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -92,6 +92,7 @@ static int randomize(uint8_t *buf, int len)
#elif CONFIG_OPENSSL
if (RAND_bytes(buf, len))
return 0;
+ return AVERROR(EIO);
#else
return AVERROR(ENOSYS);
#endif