summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-01-12 17:06:04 +0200
committerMartin Storsjö <martin@martin.st>2012-01-12 22:07:10 +0200
commit6b9e4eea839b9f75dc4cad628c923d5c70d704d1 (patch)
tree362553a6f2686b20e2b9179990f5dc7c6d95071d /libavformat/avio.h
parent3547f8e8f8418af0c578eba0de62ecba08e460c2 (diff)
avio: Fix the value of the deprecated URL_FLAG_NONBLOCK
This isn't used in practice anywhere within libav at the moment, but change it for consistency until it is removed. URL_RDONLY/WRONLY were fixed in commit 5b81e295931 (after the values that actually were used were changed at the major bump, in commit cbea3ac8), but this flag was unintentionally left unfixed. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index e73264f4aa..78935d9416 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -204,7 +204,7 @@ attribute_deprecated int url_poll(URLPollEntry *poll_table, int n, int timeout);
* Warning: non-blocking protocols is work-in-progress; this flag may be
* silently ignored.
*/
-#define URL_FLAG_NONBLOCK 4
+#define URL_FLAG_NONBLOCK 8
typedef int URLInterruptCB(void);
extern URLInterruptCB *url_interrupt_cb;