Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-09-27 16:37:54 +0300
committerAnton Khirnov <anton@khirnov.net>2016-09-30 17:54:55 +0300
commit75c1db6152c7c90c7ce28c9adb945028e5512c4f (patch)
treee6b376c0528cb8702b98890dc31858b996ed3389 /libavformat/avio.h
parent83548fe894cdb455cc127f754d09905b6d23c173 (diff)
avio: cosmetics, prettify AVIO_SEEKABLE_NORMAL
Move the doxy above the definition, change the value itself to the (1 << n) pattern, which is more readable for flags.
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 4bd5cb134a..5d2f8c2031 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -34,8 +34,10 @@
#include "libavformat/version.h"
-
-#define AVIO_SEEKABLE_NORMAL 0x0001 /**< Seeking works like for a local file */
+/**
+ * Seeking works like for a local file.
+ */
+#define AVIO_SEEKABLE_NORMAL (1 << 0)
/**
* Callback for checking whether to abort blocking functions.