[FFmpeg-cvslog] doc: update the faq entry about custom I/O
Luca Barbato
git at videolan.org
Fri Oct 12 14:19:07 CEST 2012
ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Sun Oct 7 21:19:29 2012 +0000| [26b3fde6a78f711ba510573eacbc92671a923b2d] | committer: Luca Barbato
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.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=26b3fde6a78f711ba510573eacbc92671a923b2d
---
doc/faq.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/faq.texi b/doc/faq.texi
index ac06ebf..088ca03 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?
More information about the ffmpeg-cvslog
mailing list