History

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

Carl Eugen Hoyos committed 9 years ago

Commit ae68bb71 parent f5218b21 file · +1 −1Browse files

Unified · Split

libavutil/timecode.h+1−1
@@ -30,7 +30,7 @@ · 29 unmodified lines
3030 #include <stdint.h>
3131 #include "rational.h"
3232
33−#define AV_TIMECODE_STR_SIZE 16
33+#define AV_TIMECODE_STR_SIZE 23
3434
3535 enum AVTimecodeFlag {
3636 AV_TIMECODE_FLAG_DROPFRAME = 1<<0, ///< timecode is drop frame

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t