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
30#include <stdint.h>30#include <stdint.h>
31#include "rational.h"31#include "rational.h"
32 32
33#define AV_TIMECODE_STR_SIZE 1633#define AV_TIMECODE_STR_SIZE 23
34 34
35enum AVTimecodeFlag {35enum AVTimecodeFlag {
36 AV_TIMECODE_FLAG_DROPFRAME = 1<<0, ///< timecode is drop frame36 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