ffmpeg | branch: master | Anton Khirnov <an...@khirnov.net> | Tue Sep 27 
15:37:54 2016 +0200| [75c1db6152c7c90c7ce28c9adb945028e5512c4f] | committer: 
Anton Khirnov

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=75c1db6152c7c90c7ce28c9adb945028e5512c4f
---

 libavformat/avio.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/libavformat/avio.h b/libavformat/avio.h
index 4bd5cb1..5d2f8c2 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.

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to