hlsenc: Fix the openssl support

This commit is contained in:
Luca Barbato 2016-11-18 10:56:01 +01:00
parent 0b5a26e8bc
commit 3c7fa8cbb9
1 changed files with 1 additions and 0 deletions

View File

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