diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2012-10-07 21:19:29 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2012-10-11 15:12:30 +0200 |
commit | 26b3fde6a78f711ba510573eacbc92671a923b2d (patch) | |
tree | 204cc2d56bf5078c09760f40edcd96e2c49223be | |
parent | 1ec629308652b382a409ffa61e049c074ee5e695 (diff) | |
download | ffmpeg-26b3fde6a78f711ba510573eacbc92671a923b2d.tar.gz |
doc: update the faq entry about custom I/O
URLProtocols are private and custom AVIOContexts are a simple and
easier solution for most of the situations.
-rw-r--r-- | doc/faq.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/faq.texi b/doc/faq.texi index ac06ebffcd..088ca03cc6 100644 --- a/doc/faq.texi +++ b/doc/faq.texi @@ -336,8 +336,8 @@ to use them you have to append -D__STDC_CONSTANT_MACROS to your CXXFLAGS @section I have a file in memory / a API different from *open/*read/ libc how do I use it with libavformat? -You have to implement a URLProtocol, see @file{libavformat/file.c} in -Libav and @file{libmpdemux/demux_lavf.c} in MPlayer sources. +You have to create a custom AVIOContext using @code{avio_alloc_context}, +see @file{libavformat/aviobuf.c} in Libav and @file{libmpdemux/demux_lavf.c} in MPlayer2 sources. @section Why is @code{make fate} not running all tests? |