1
0
Fork 0

Add missing const

This commit is contained in:
hpi1 2019-07-02 11:51:48 +03:00
parent e555789f08
commit 8c620f1525
1 changed files with 1 additions and 1 deletions

View File

@ -582,7 +582,7 @@ int disc_cache_bdrom_file(BD_DISC *p, const char *rel_path, const char *cache_pa
BD_FILE_H *disc_open_path_dec(BD_DISC *p, const char *rel_path)
{
size_t size = strlen(rel_path);
char *suf = (size > 5) ? rel_path + (size - 5) : rel_path;
const char *suf = (size > 5) ? rel_path + (size - 5) : rel_path;
/* check if it's a stream */
if (strncmp(rel_path, "BDMV" DIR_SEP "STREAM", 11)) { // not equal