Now AVIO_RDONLY is defined as 0, so it's not usable as a flag.
Attach a file by drag & drop or click to upload