From 3c7fa8cbb93dba96acb12aef6e00d929c1da1ae8 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Fri, 18 Nov 2016 10:56:01 +0100 Subject: hlsenc: Fix the openssl support --- libavformat/hlsenc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/hlsenc.c') 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 -- cgit v1.1