hlsenc: Fix the openssl support
This commit is contained in:
parent
0b5a26e8bc
commit
3c7fa8cbb9
@ -92,6 +92,7 @@ static int randomize(uint8_t *buf, int len)
|
|||||||
#elif CONFIG_OPENSSL
|
#elif CONFIG_OPENSSL
|
||||||
if (RAND_bytes(buf, len))
|
if (RAND_bytes(buf, len))
|
||||||
return 0;
|
return 0;
|
||||||
|
return AVERROR(EIO);
|
||||||
#else
|
#else
|
||||||
return AVERROR(ENOSYS);
|
return AVERROR(ENOSYS);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user