aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dpxenc.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-05-09 16:56:56 +0300
committerMartin Storsjö <martin@martin.st>2011-05-09 19:14:38 +0300
commita7ea5e3d35f30180ad69b86e6328f434e29119dc (patch)
tree1e2da7c20cc5de97eaeedffbb41f7bd33c41d6b0 /libavcodec/dpxenc.c
parentf9a6cfdd040991bfdbcf2bc97de6666a2ddcd97f (diff)
downloadffmpeg-a7ea5e3d35f30180ad69b86e6328f434e29119dc.tar.gz
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>
Diffstat (limited to 'libavcodec/dpxenc.c')
0 files changed, 0 insertions, 0 deletions