git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hlsenc: Fix the openssl support
[ffmpeg.git]
/
libavformat
/
hlsenc.c
diff --git
a/libavformat/hlsenc.c
b/libavformat/hlsenc.c
index
5eebec8
..
625531b
100644
(file)
--- 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