Browse Source

hlsenc: Fix the openssl support

tags/n3.4
Luca Barbato 8 years ago
parent
commit
3c7fa8cbb9
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/hlsenc.c

+ 1
- 0
libavformat/hlsenc.c View File

@@ -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…
Cancel
Save