1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00
FFmpeg/libavformat
Martin Storsjö a7ea5e3d35 udp: Fix receiving RTP data over multicast
Earlier, AVIO_RDWR was handled as READ, and all the checks
for the AVIO_WRONLY flag explicitly meant the write-only case.
When changed from old AVIO/URL contants to AVIO_FLAG in
59d96941f0285a5, these comparisons were updated incorrectly, by
mapping checks for AVIO_WRONLY to checks for AVIO_FLAG_WRITE.

When receiving RTP over UDP, the urlcontext is opened with
READ_WRITE flags.

This patch updates the flag comparisons to check for the same
conditions as the code did prior to 59d96941f0285a5.

Signed-off-by: Martin Storsjö <martin@martin.st>
2011-05-09 19:14:38 +03:00
..
2011-03-21 21:31:34 +01:00
2011-04-03 22:47:05 +02:00
2011-04-20 17:00:11 +02:00
2011-03-28 16:55:03 +02:00
2011-04-18 18:23:16 +02:00
2011-04-08 15:59:19 +02:00
2011-04-19 19:48:07 +02:00
2011-04-19 18:28:38 +02:00
2011-05-04 18:06:45 +01:00
2011-04-19 18:28:38 +02:00
2011-04-08 15:59:19 +02:00
2011-05-03 21:20:13 -07:00
2011-05-03 21:20:13 -07:00
2011-04-19 18:28:38 +02:00
2011-05-03 22:29:19 -04:00
2011-05-03 11:51:55 +02:00
2011-04-04 17:45:20 +02:00
2011-04-08 15:59:19 +02:00
2011-04-04 17:45:20 +02:00
2011-04-03 22:47:39 +02:00
2011-04-08 15:59:19 +02:00
2011-05-09 19:14:37 +03:00
2011-04-01 19:29:08 +02:00
2011-04-13 07:38:15 +02:00
2011-04-24 00:05:38 +03:00