also use AVERROR codes for some return values instead of -1
Attach a file by drag & drop or click to upload