[FFmpeg-devel] [PATCH] tcp.c/udp.c memleak?
Ronald S. Bultje
Sat Aug 23 19:50:35 CEST 2008
patch#2 removes the fail: case from all cases where it failes before
socket(), since these do nothing but return. This gives more control
over the specific return value, e.g. I can change it into EINVAL
instead of EIO for these cases where it fails because of invalid
parameters instead of I/O errors.
The patch also removes the if (fd ...) check because it is no longer
needed, fail: is only reached when the socket has been created.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel