[FFmpeg-devel] [PATCH] add alloc_put_byte function

Michael Niedermayer michaelni
Thu Dec 20 23:44:00 CET 2007


On Wed, Dec 19, 2007 at 10:48:50PM +0100, Michael Niedermayer wrote:
> On Wed, Dec 19, 2007 at 07:47:45PM +0100, Reimar D?ffinger wrote:
> > Hello,
> > since applications should not assume ByteIOContext to have a constant
> > size, attached patch adds a alloc_put_byte function.
> > It is almost the same as init_put_byte, but it also takes a
> > streamed_flag parameter - this seems the only missing option the user
> > has a reason to set and it's exactly what I need, so like this
> 
> What about read_pause / read_seek ?
> 
> Some things like MMS do not support seeking per positon AFAIK, and seeking
> per timestamp needs read_seek()
> 
> Iam just curious, dont you consider that needed/usefull as well?
> Same for the ability to pause (tell the server not to send more packets)

Well i guess the question of which arguments the function should take is
mostly bikeshed. So iam fine with the patch except that the function needs
a av_ prefix

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071220/08eb2deb/attachment.pgp>



More information about the ffmpeg-devel mailing list