[FFmpeg-devel] [PATCH] udp: ignore UDP packets without payload

Nicolas George george at nsup.org
Wed May 24 10:02:16 EEST 2017


Le quartidi 4 prairial, an CCXXV, Daniel Kucera a écrit :
> Time to time some devices send UDP packets without payload.
> ffmpeg previously exited on receiving such packet, this patch
> fixes this behaviour.
> 
> Signed-off-by: Daniel Kucera <daniel.kucera at gmail.com>
> ---
>  libavformat/udp.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

I do not think this is correct: UDP is a packetized protocol, packet
with empty payload are still packets, and meaningful for some protocols.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170524/c5c6d9e6/attachment.sig>


More information about the ffmpeg-devel mailing list