Timecode: Support 48fps

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/72/merge
Thierry Foucu 11 years ago committed by Michael Niedermayer
parent 919c320f72
commit 12875df324
  1. 2
      libavutil/timecode.c

@ -141,7 +141,7 @@ char *av_timecode_make_mpeg_tc_string(char *buf, uint32_t tc25bit)
static int check_fps(int fps) static int check_fps(int fps)
{ {
int i; int i;
static const int supported_fps[] = {24, 25, 30, 50, 60}; static const int supported_fps[] = {24, 25, 30, 48, 50, 60};
for (i = 0; i < FF_ARRAY_ELEMS(supported_fps); i++) for (i = 0; i < FF_ARRAY_ELEMS(supported_fps); i++)
if (fps == supported_fps[i]) if (fps == supported_fps[i])

Loading…
Cancel
Save