Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Video AG Infrastruktur
ffworker
Commits
41a786b8
Commit
41a786b8
authored
Oct 29, 2017
by
Julian Rother
Browse files
thumbnail: Check rename for errors
parent
03ba7991
Changes
1
Hide whitespace changes
Inline
Side-by-side
thumbnail.c
View file @
41a786b8
...
...
@@ -100,7 +100,8 @@ int main(int argc, char *argv[])
if
(
av_write_trailer
(
mux
))
goto
fail
;
avio_closep
(
&
mux
->
pb
);
rename
(
tmp
,
dest
);
if
(
rename
(
tmp
,
dest
))
goto
fail
;
unlink
(
tmp
);
ping_job
(
jobid
,
"finished"
,
"{
\"
log
\"
:
\"
%s
\"
}"
,
get_avlogbuf
());
return
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment