Commit 3c7fa8cb authored by Luca Barbato's avatar Luca Barbato

hlsenc: Fix the openssl support

parent 0b5a26e8
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment