diff options
author | Clément Bœsch <clement.boesch@smartjog.com> | 2012-01-16 17:04:04 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-02-02 14:31:17 +0100 |
commit | b90d79ec1f2115ed583399739fd37a97d74f9a64 (patch) | |
tree | dc3f3b772dc1de1b248b5bfa6ec9a93110f9f6f1 /libavcodec/timecode.h | |
parent | 6f55156234faa32493788e898cc14885a610ef8f (diff) | |
download | ffmpeg-b90d79ec1f2115ed583399739fd37a97d74f9a64.tar.gz |
timecode: drop lavc timecode on next bump.
Diffstat (limited to 'libavcodec/timecode.h')
-rw-r--r-- | libavcodec/timecode.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/timecode.h b/libavcodec/timecode.h index bcfb0fa834..8bc69e9876 100644 --- a/libavcodec/timecode.h +++ b/libavcodec/timecode.h @@ -22,11 +22,16 @@ /** * @file * Timecode helpers header + * This *private* API is deprecated, please use the one available in libavutil instead. */ #ifndef AVCODEC_TIMECODE_H #define AVCODEC_TIMECODE_H +#include "version.h" + +#if FF_API_OLD_TIMECODE + #include <stdint.h> #include "avcodec.h" #include "libavutil/rational.h" @@ -93,7 +98,6 @@ int avpriv_check_timecode_rate(void *avcl, AVRational rate, int drop); */ int avpriv_init_smpte_timecode(void *avcl, struct ff_timecode *tc); -#if FF_API_OLD_TIMECODE attribute_deprecated int ff_framenum_to_drop_timecode(int frame_num); attribute_deprecated uint32_t ff_framenum_to_smtpe_timecode(unsigned frame, int fps, int drop); attribute_deprecated int ff_init_smtpe_timecode(void *avcl, struct ff_timecode *tc); |