Commit eea5ba38 authored by Julian Rother's avatar Julian Rother

publish_video/transcode: Fixed umask

parent 166d04c9
Pipeline #454 passed with stage
in 11 minutes and 11 seconds
...@@ -10,6 +10,7 @@ int main(int argc, char *argv[]) ...@@ -10,6 +10,7 @@ int main(int argc, char *argv[])
if (argc != 5) if (argc != 5)
return 1; return 1;
av_register_all(); av_register_all();
umask(S_IWOTH);
init_env(); init_env();
init_avlogbuf(); init_avlogbuf();
jobid = atoi(argv[1]); jobid = atoi(argv[1]);
......
...@@ -264,6 +264,7 @@ int main(int argc, char *argv[]) ...@@ -264,6 +264,7 @@ int main(int argc, char *argv[])
av_register_all(); av_register_all();
avfilter_register_all(); avfilter_register_all();
init_env(); init_env();
umask(S_IWOTH);
init_avlogbuf(); init_avlogbuf();
pkt.data = 0; pkt.data = 0;
pkt.size = 0; pkt.size = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment