summaryrefslogtreecommitdiff
path: root/libavformat/librtmp.c
diff options
context:
space:
mode:
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)) {