Changeset 2117311
- Timestamp:
- Dec 29, 2021, 5:52:03 PM (3 years ago)
- Branches:
- feature/crepe
- Children:
- c5ca86e
- Parents:
- a2b1159
- git-author:
- Paul Brossier <piem@piem.org> (12/29/21 17:22:00)
- git-committer:
- Paul Brossier <piem@piem.org> (12/29/21 17:52:03)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ai/tensor.c
ra2b1159 r2117311 182 182 strncpy(shape_str_previous, shape_str, len); 183 183 } 184 snprintf(shape_str, strnlen(shape_str, STRN_LENGTH - offset - 1) + offset, 185 "%s)", shape_str_previous); 184 if (snprintf(shape_str, 185 strnlen(shape_str, STRN_LENGTH - offset - 1) + offset, 186 "%s)", shape_str_previous) < 0) 187 AUBIO_WRN("aubio_tensor_get_shape_string snprintf failed"); 186 188 return shape_str; 187 189 }
Note: See TracChangeset
for help on using the changeset viewer.