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:
Adrien Destugues
2021-10-09 16:38:46 +02:00
parent 857c79a6b8
commit fb5c24d812
13 changed files with 33 additions and 36 deletions
+2 -2
View File
@@ -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