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

Mariusz Szczepańczyk mszczepanczyk at gmail.com
Sun Jun 21 17:19:17 CEST 2015


On 21/06/15 10:11, 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?
>
> - Hendrik

Suppose you're writing a video player with browsing capabilities for 
network protocols (like Kodi/XBMC). Now you can have file rename/delete 
functionality in it.

Mariusz



More information about the ffmpeg-devel mailing list