[FFmpeg-devel] [PATCH] Timecode: Support 48fps

Thierry Foucu tfoucu at gmail.com
Tue May 27 20:23:09 CEST 2014


---
 libavutil/timecode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/timecode.c b/libavutil/timecode.c
index d396032..1dfd040 100644
--- a/libavutil/timecode.c
+++ b/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)
 {
     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++)
         if (fps == supported_fps[i])
-- 
1.9.1.423.g4596e3a



More information about the ffmpeg-devel mailing list