MediaAddOn: missing const
Pretty much all add-ons are setting this to point to a const string, so we should make sure that nothing tries to modify it.
This commit is contained in:
@@ -38,8 +38,8 @@ enum {
|
||||
};
|
||||
|
||||
struct flavor_info {
|
||||
char* name;
|
||||
char* info;
|
||||
const char* name;
|
||||
const char* info;
|
||||
uint64 kinds; // node kind
|
||||
uint32 flavor_flags;
|
||||
int32 internal_id; // For BMediaAddOn internal use
|
||||
|
||||
Reference in New Issue
Block a user