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
This commit is contained in:
Carl Eugen Hoyos 2017-05-05 01:23:24 +02:00
parent f5218b27c4
commit ae68bb779c
1 changed files with 1 additions and 1 deletions

View File

@ -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