[FFmpeg-devel] [PATCH] lavf/udp: fix dead code.

Michael Niedermayer michael at niedermayer.cc
Fri Jun 3 12:32:26 CEST 2016


On Fri, Jun 03, 2016 at 11:21:23AM +0200, Nicolas George wrote:
> Since d607861, service can not be NULL, only "0".
> An UDP address with neither local port nor address leaves both
> service and node to their default value, and POSIX specifies
> that they are not allowed to be both NULL; "0" is equivalent
> to an unspecified port for all currently known protocols.
> 
> Fix CID 1341570.
> 
> Signed-off-by: Nicolas George <george at nsup.org>
> ---
>  libavformat/udp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

ok
thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160603/57e9882d/attachment.sig>


More information about the ffmpeg-devel mailing list