summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2016-11-18 10:56:01 +0100
committerLuca Barbato <lu_zero@gentoo.org>2016-11-18 11:18:58 +0100
commit3c7fa8cbb93dba96acb12aef6e00d929c1da1ae8 (patch)
tree49160a52711d59f3af6dc41cca220e54f374eb9a /libavformat
parent0b5a26e8bcd219efe5da3a6d39b588fabf91f2b9 (diff)
downloadffmpeg-3c7fa8cbb93dba96acb12aef6e00d929c1da1ae8.tar.gz
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