[FFmpeg-devel] [PATCH] udp: ignore UDP packets without payload
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: Digital signature
More information about the ffmpeg-devel