[FFmpeg-devel] [PATCH] Remove comparison of unsigned variable with zero
Panagiotis Issaris
takis.issaris
Thu May 8 19:30:06 CEST 2008
Hi Carl,
Carl Eugen Hoyos wrote:
> Hi!
>
> dest_addr_len in udp.c is defined as size_t which is unsigned (if I
> googled that correctly). Attached patch removes a comparison of
> dest_addr_len with zero (fixes a warning when compiling with icc).
Maybe it would be better to keep the check, but only assign it to
dest_addr_len if it is a real length. That way the error can still be
propagated to the caller. Or am I missing something?
With friendly regards,
Takis
More information about the ffmpeg-devel
mailing list