summaryrefslogtreecommitdiffstats
path: root/libavformat/hlsenc.c
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/hlsenc.c
parent0b5a26e8bcd219efe5da3a6d39b588fabf91f2b9 (diff)
downloadffmpeg-streaming-3c7fa8cbb93dba96acb12aef6e00d929c1da1ae8.zip
ffmpeg-streaming-3c7fa8cbb93dba96acb12aef6e00d929c1da1ae8.tar.gz
hlsenc: Fix the openssl support
Diffstat (limited to 'libavformat/hlsenc.c')
-rw-r--r--libavformat/hlsenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 5eebec8..625531b 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
OpenPOWER on IntegriCloud