AVIOContext.error

< contains the error code or 0 if no error happened

struct AVIOContext
int error;

Meta