MT#55283 silence Coverity false positive

No locking is necessary in the shutdown code.

Change-Id: Ib73a04cee4f780e5e25d4fc7c0c57927098273d0
Warned-by: Coverity
pull/1623/head
Richard Fuchs 3 years ago
parent 62db8333f7
commit b3e6d47428

@ -118,7 +118,7 @@ static void media_player_shutdown(struct media_player *mp) {
mp->cache_index.type = MP_OTHER;
if (mp->cache_index.file.s)
g_free(mp->cache_index.file.s);
mp->cache_index.file = STR_NULL;
mp->cache_index.file = STR_NULL;// coverity[missing_lock : FALSE]
mp->cache_entry = NULL; // coverity[missing_lock : FALSE]
mp->cache_read_idx = 0;
}

Loading…
Cancel
Save