On Tue, 27 Aug 2013, Luca Barbato wrote:

On 27/08/13 18:05, Martin Storsjö wrote:
If a client tries to read the file while it's being updated, the client
would get an incomplete manifest. Instead write to a separate temp file
and atomically rename it to replace the previous one.
---
 libavformat/smoothstreamingenc.c |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)


Probably ok. I doubt using a memory backed avio would work better.

Indeed, that's probably more work and less obvious/robust.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to