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
Showing the changes to libavutil/timecode.h (1 of 1 file). Show all
Unified · Split
| @@ -30,7 +30,7 @@ · 29 unmodified lines | |||
| 30 | #include <stdint.h> | 30 | #include <stdint.h> |
| 31 | #include "rational.h" | 31 | #include "rational.h" |
| 32 | 32 | ||
| 33 | #define AV_TIMECODE_STR_SIZE 16 | 33 | #define AV_TIMECODE_STR_SIZE 23 |
| 34 | 34 | ||
| 35 | enum AVTimecodeFlag { | 35 | enum AVTimecodeFlag { |
| 36 | AV_TIMECODE_FLAG_DROPFRAME = 1<<0, ///< timecode is drop frame | 36 | AV_TIMECODE_FLAG_DROPFRAME = 1<<0, ///< timecode is drop frame |