1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Timecode: Support 48fps

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Thierry Foucu 2014-05-27 11:23:09 -07:00 committed by Michael Niedermayer
parent 919c320f72
commit 12875df324

View File

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