[FFmpeg-devel] [PATCH] avformat/cache - delete cache file after closing handle

Nicolas George george at nsup.org
Thu May 23 20:50:01 EEST 2019


Gyan (12019-05-23):
> -    unlink(buffername);
> -    av_freep(&buffername);
> +    ret = avpriv_io_delete(buffername);

Is there a reason you replace unlink() with avpriv_io_delete()? unlink()
is more direct, and cache does not support non-file cache.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190523/d71ef421/attachment.sig>


More information about the ffmpeg-devel mailing list