[FFmpeg-devel] [PATCH 1/2] lavf/avio: Extend API with avio_move() and avio_delete()

Michael Niedermayer michaelni at gmx.at
Sun Jun 21 23:06:15 CEST 2015


On Sun, Jun 21, 2015 at 10:11:53AM +0200, Hendrik Leppkes wrote:
> On Sat, Jun 20, 2015 at 2:52 PM, Mariusz Szczepańczyk
> <mszczepanczyk at gmail.com> wrote:
> > ---
> >  doc/APIchanges        |  4 ++++
> >  libavformat/avio.c    | 38 ++++++++++++++++++++++++++++++++++++++
> >  libavformat/avio.h    | 19 +++++++++++++++++++
> >  libavformat/url.h     |  2 ++
> >  libavformat/version.h |  2 +-
> >  5 files changed, 64 insertions(+), 1 deletion(-)
> >
> 
> Why do we need moving and deleting files in avio? Whats the use-case for ffmpeg?

In addition to what has been mentioned there is also the need to
atomically replace files in some muxers
we currently use ff_rename() for that, but that is specific to local
files, It would be better / more ideal if that was not specific to
just local files

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

I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150621/d36eee57/attachment.asc>


More information about the ffmpeg-devel mailing list