This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
fix open return check
Originally committed as revision 13858 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Baptiste Coudurier
17 years ago
parent
0679719d5b
commit
3296409d5c
1 changed files
with
4 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-4
ffserver.c
+ 4
- 4
ffserver.c
View File
@@ -392,12 +392,12 @@ static void start_children(FFStream *feed)
if (!ffserver_debug) {
i = open("/dev/null", O_RDWR);
if (i)
if (i
!= -1
)
{
dup2(i, 0);
dup2(i, 1);
dup2(i, 2);
if (i)
dup2(i, 1);
dup2(i, 2);
close(i);
}
}
av_strlcpy(pathname, my_program_name, sizeof(pathname));
Write
Preview
Loading…
Cancel
Save