[FFmpeg-devel] [RFC][PATCH] av_fifo_write_from_bytestream()
Thu Apr 3 12:14:36 CEST 2008
when changing the mms protocol over to use fifos I need a way to
efficiently read data from a ByteIOContext into an AVFifoBuffer.
The attached patch adds such a function to fifo.(c|h) but also makes
those files depend on avformat.h
If that is ok, feel free to review the patch. If not, please advice on a
better solution (and skip the detailed reviewing for now).
The suboptimal workaround as long as this function is missing is to
first read data from the ByteIOContext into a temporary buffer and then
write from that buffer into the fifo.
Bj?rn Axelsson Phone: +46-(0)90-18 98 97
Intinor AB Fax: +46-(0)920-757 10
Interactive Television & Digital Media Distribution
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1752 bytes
Desc: not available
More information about the ffmpeg-devel