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
udp: Return the actual error code on errors, instead of AVERROR(EIO)
Originally committed as revision 25350 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Martin Storsjö
15 years ago
parent
42f9582d8d
commit
25a2ebb917
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/udp.c
+ 1
- 1
libavformat/udp.c
View File
@@ -469,7 +469,7 @@ static int udp_write(URLContext *h, const uint8_t *buf, int size)
if (ret < 0) {
if (ff_neterrno() != FF_NETERROR(EINTR) &&
ff_neterrno() != FF_NETERROR(EAGAIN))
return
AVERROR(EIO
);
return
ff_neterrno(
);
} else {
break;
}
Write
Preview
Loading…
Cancel
Save