aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/librtmp.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-04 20:11:19 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-07 18:07:16 +0200
commitf87b1b373a0df55080c1e6a5874f9a0a75c6fee8 (patch)
tree9b44dffc615a4832c3d67cc27a6eb13ca8960df1 /libavformat/librtmp.c
parent3d42d4937b029b604da7d53dce16c72e8edde29c (diff)
downloadffmpeg-f87b1b373a0df55080c1e6a5874f9a0a75c6fee8.tar.gz
avio: AVIO_ prefixes for URL_ open flags.
Diffstat (limited to 'libavformat/librtmp.c')
-rw-r--r--libavformat/librtmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/librtmp.c b/libavformat/librtmp.c
index a55f408169..f98040297c 100644
--- a/libavformat/librtmp.c
+++ b/libavformat/librtmp.c
@@ -93,7 +93,7 @@ static int rtmp_open(URLContext *s, const char *uri, int flags)
goto fail;
}
- if (flags & URL_WRONLY)
+ if (flags & AVIO_WRONLY)
RTMP_EnableWrite(r);
if (!RTMP_Connect(r, NULL) || !RTMP_ConnectStream(r, 0)) {