| commit | 5722afa37a3a857902f8cb951bd2bc5ba698b50a | [log] [tgz] |
|---|---|---|
| author | Yi Kong <yikong@google.com> | Tue Aug 05 17:11:36 2025 +0900 |
| committer | Yi Kong <yikong@google.com> | Tue Aug 05 17:15:01 2025 +0900 |
| tree | 063bfb6eaa43d752538ffa2337c1af7012f4f19d | |
| parent | 3fc9ec18189207a5ea30547136f2a3a1cbcb36f5 [diff] |
Replace strtok with strtok_r
strtok is deprecated.
frameworks/av/media/libmediahelper/include/media/TypeConverter.h:172:29: warning: 'strtok' is deprecated: strtok() is not thread-safe; use strtok_r() instead [-Wdeprecated-declarations]
172 | for (const char *cstr = strtok(literal, del); cstr != NULL; cstr = strtok(NULL, del)) {
|
Test: presubmit
Flag: EXEMPT, code cleanup
Change-Id: I56a29fbdd9325160f7a13375013e663d01dc9c49