summaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
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 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