Browse Source

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
tags/n3.4
Carl Eugen Hoyos 8 years ago
parent
commit
ae68bb779c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/timecode.h

+ 1
- 1
libavutil/timecode.h 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


Loading…
Cancel
Save