[FFmpeg-cvslog] avformat: Document urls a bit

Michael Niedermayer git at videolan.org
Thu Jan 28 16:11:49 CET 2016


ffmpeg | branch: release/2.8 | Michael Niedermayer <michael at niedermayer.cc> | Sat Jan 23 00:35:46 2016 +0100| [b432d883e62386c9f07ce39b8a6916a644d4aba9] | committer: Michael Niedermayer

avformat: Document urls a bit

Spell-checked-by: Moritz Barsnick <barsnick at gmx.net>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit 3130556c0eb09f3da3c9de6473a97937a4648d62)

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 libavformat/avformat.h |   12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index a859ea3..a669476 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -78,6 +78,18 @@
  * if its AVClass is non-NULL, and the protocols layer. See the discussion on
  * nesting in @ref avoptions documentation to learn how to access those.
  *
+ * @section urls
+ * URL strings in libavformat are made of a scheme/protocol, a ':', and a
+ * scheme specific string. URLs without a scheme and ':' used for local files
+ * are supported but deprecated. "file:" should be used for local files.
+ *
+ * It is important that the scheme string is not taken from untrusted
+ * sources without checks.
+ *
+ * Note that some schemes/protocols are quite powerful, allowing access to
+ * both local and remote files, parts of them, concatenations of them, local
+ * audio and video devices and so on.
+ *
  * @defgroup lavf_decoding Demuxing
  * @{
  * Demuxers read a media file and split it into chunks of data (@em packets). A



More information about the ffmpeg-cvslog mailing list