Changeset a7ea5e3d in ffmpeg

Timestamp:
May 9, 2011, 4:14:38 PM (14 years ago)
Author:
Martin Storsjö <martin@martin.st>
Branches:
master
Children:
ed87375d
Parents:
f9a6cfdd
git-author:
Martin Storsjö <martin@martin.st> (05/09/11 13:56:56)
git-committer:
Martin Storsjö <martin@martin.st> (05/09/11 16:14:38)
Message:

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>

(No files)

Note: See TracChangeset for help on using the changeset viewer.