[FFmpeg-cvslog] hlsenc: Fix the openssl support

Luca Barbato git at videolan.org
Mon Apr 3 21:39:15 EEST 2017


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Fri Nov 18 10:56:01 2016 +0100| [3c7fa8cbb93dba96acb12aef6e00d929c1da1ae8] | committer: Luca Barbato

hlsenc: Fix the openssl support

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3c7fa8cbb93dba96acb12aef6e00d929c1da1ae8
---

 libavformat/hlsenc.c | 1 +
 1 file changed, 1 insertion(+)

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



More information about the ffmpeg-cvslog mailing list