diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-11-04 12:05:30 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-11-04 18:10:39 +0100 |
commit | 74a50e75a8954bdbf142a93a7bb022d16d93512f (patch) | |
tree | 103a2d1bfcac14e134026ce380791b01c6f1b0fb /libavutil/timecode.c | |
parent | 008ace3524697f75295b57655215ffe6cad6496b (diff) | |
download | ffmpeg-74a50e75a8954bdbf142a93a7bb022d16d93512f.tar.gz |
lavu: drop disabled FF_API_OLD_TC_ADJUST_FRAMENUM code
Diffstat (limited to 'libavutil/timecode.c')
-rw-r--r-- | libavutil/timecode.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libavutil/timecode.c b/libavutil/timecode.c index fcbd00d660..77d828d56f 100644 --- a/libavutil/timecode.c +++ b/libavutil/timecode.c @@ -31,17 +31,6 @@ #include "log.h" #include "error.h" -#ifdef FF_API_OLD_TC_ADJUST_FRAMENUM -int av_timecode_adjust_ntsc_framenum(int framenum) -{ - /* only works for NTSC 29.97 */ - int d = framenum / 17982; - int m = framenum % 17982; - //if (m < 2) m += 2; /* not needed since -2,-1 / 1798 in C returns 0 */ - return framenum + 18 * d + 2 * ((m - 2) / 1798); -} -#endif - int av_timecode_adjust_ntsc_framenum2(int framenum, int fps) { /* only works for NTSC 29.97 and 59.94 */ |