avio_close() can only be called on AVIOContexts created by avio_open(2).
Attach a file by drag & drop or click to upload