From 2d90d51c561c2e4c36a00d1ba666adee5028663c Mon Sep 17 00:00:00 2001 From: Marton Balint Date: Sat, 5 Sep 2020 22:45:52 +0200 Subject: avutil/timecode: allow drop frame timecodes for multiples of 30000/1001 fps Signed-off-by: Marton Balint --- libavutil/timecode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavutil/timecode.h') diff --git a/libavutil/timecode.h b/libavutil/timecode.h index f9471a6e38..697e61180b 100644 --- a/libavutil/timecode.h +++ b/libavutil/timecode.h @@ -49,9 +49,9 @@ typedef struct { * Adjust frame number for NTSC drop frame time code. * * @param framenum frame number to adjust - * @param fps frame per second, 30 or 60 + * @param fps frame per second, multiples of 30 * @return adjusted frame number - * @warning adjustment is only valid in NTSC 29.97 and 59.94 + * @warning adjustment is only valid for multiples of NTSC 29.97 */ int av_timecode_adjust_ntsc_framenum2(int framenum, int fps); -- cgit v1.2.3