OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5218b2
)
lavu/timecode: Increase AV_TIMECODE_STR_SIZE.
author
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Thu, 4 May 2017 23:23:24 +0000
(
01:23
+0200)
committer
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Fri, 5 May 2017 08:09:12 +0000
(10:09 +0200)
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
libavutil/timecode.h
patch
|
blob
|
history
diff --git
a/libavutil/timecode.h
b/libavutil/timecode.h
index
56e3975
..
37c1361
100644
(file)
--- 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