aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 9839ad5..f7ab273 100644
--- a/main.c
+++ b/main.c
@@ -55,6 +55,7 @@ void on_rtmp_audio(void *ctx, int64_t timestamp, char *buf, size_t size) {
}
int main() {
+ srand((unsigned) time(NULL));
MainCtx main_ctx;
RtmpCallbacks rtmp_cbs = {
.on_audio = &on_rtmp_audio,