[FFmpeg-devel] [PATCH] don't set is_streamed when it's not

Michael Niedermayer michaelni
Thu Dec 20 01:13:03 CET 2007


On Thu, Dec 20, 2007 at 12:38:14AM +0100, Aurelien Jacobs wrote:
> Hi,
> 
> Currently ffserver uses url_open_buf() and url_open_dyn_buf() and
> then set is_streamed in the resulting ByteIOContext.
> This seems plain wrong. Buffers are really not streamed.
> Attached patch avoid this. OK ?

hmm, i dont think so
Its surely true that the buffer in which the header is written is seekable.
But the packets following are not that is we cant seek back and update the
header, this would cause problems as muxers would think during header
writing that they could seek back later and update things ...

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

No great genius has ever existed without some touch of madness. -- Aristotle
-------------- 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/fcb085b8/attachment.pgp>



More information about the ffmpeg-devel mailing list