diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2017-05-05 01:23:24 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2017-05-05 10:09:12 +0200 |
commit | ae68bb779ca7923197a7eafca8b0895d544b29f7 (patch) | |
tree | 2dffcf56f2745cf46928262ba18f39befe930588 /libavutil/timecode.h | |
parent | f5218b27c4f8ad06dfd6f491362c027d37ab85ce (diff) | |
download | ffmpeg-ae68bb779ca7923197a7eafca8b0895d544b29f7.tar.gz |
lavu/timecode: Increase AV_TIMECODE_STR_SIZE.
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
Diffstat (limited to 'libavutil/timecode.h')
-rw-r--r-- | libavutil/timecode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/timecode.h b/libavutil/timecode.h index 56e3975fd8..37c1361bc2 100644 --- a/libavutil/timecode.h +++ b/libavutil/timecode.h @@ -30,7 +30,7 @@ #include <stdint.h> #include "rational.h" -#define AV_TIMECODE_STR_SIZE 16 +#define AV_TIMECODE_STR_SIZE 23 enum AVTimecodeFlag { AV_TIMECODE_FLAG_DROPFRAME = 1<<0, ///< timecode is drop frame |