aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/timecode.c
diff options
context:
space:
mode:
authorClément Bœsch <clement.boesch@smartjog.com>2012-01-16 17:04:04 +0100
committerClément Bœsch <ubitux@gmail.com>2012-02-02 14:31:17 +0100
commitb90d79ec1f2115ed583399739fd37a97d74f9a64 (patch)
treedc3f3b772dc1de1b248b5bfa6ec9a93110f9f6f1 /libavcodec/timecode.c
parent6f55156234faa32493788e898cc14885a610ef8f (diff)
downloadffmpeg-b90d79ec1f2115ed583399739fd37a97d74f9a64.tar.gz
timecode: drop lavc timecode on next bump.
Diffstat (limited to 'libavcodec/timecode.c')
-rw-r--r--libavcodec/timecode.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/timecode.c b/libavcodec/timecode.c
index 2e0f4a489b..f9862e5581 100644
--- a/libavcodec/timecode.c
+++ b/libavcodec/timecode.c
@@ -22,8 +22,13 @@
/**
* @file
* Timecode helpers
+ * This *private* API is deprecated, please use the one available in libavutil instead.
*/
+#include "version.h"
+
+#if FF_API_OLD_TIMECODE
+
#include <stdio.h>
#include "timecode.h"
#include "libavutil/log.h"
@@ -128,7 +133,6 @@ int avpriv_init_smpte_timecode(void *avcl, struct ff_timecode *tc)
return 0;
}
-#if FF_API_OLD_TIMECODE
int ff_framenum_to_drop_timecode(int frame_num)
{
return avpriv_framenum_to_drop_timecode(frame_num);