---

Thanks to Diego for spotting it.

 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
--
2.9.2

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to