Fixes the following warning: libavutil/timecode.c:103:60: warning: '%02d' directive output may be truncated writing between 2 and 10 bytes into a region of size between 0 and 7
Unified · Split
| @@ -30,7 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | #include <stdint.h> |
| 31 | 31 | #include "rational.h" |
| 32 | 32 | |
| 33 | −#define AV_TIMECODE_STR_SIZE 16 | |
| 33 | +#define AV_TIMECODE_STR_SIZE 23 | |
| 34 | 34 | |
| 35 | 35 | enum AVTimecodeFlag { |
| 36 | 36 | AV_TIMECODE_FLAG_DROPFRAME = 1<<0, ///< timecode is drop frame |