Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
b90d79ec
Commit
b90d79ec
authored
Jan 16, 2012
by
Clément Bœsch
Committed by
Clément Bœsch
Feb 02, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
timecode: drop lavc timecode on next bump.
parent
6f551562
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
timecode.c
libavcodec/timecode.c
+5
-1
timecode.h
libavcodec/timecode.h
+5
-1
No files found.
libavcodec/timecode.c
View file @
b90d79ec
...
...
@@ -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
);
...
...
libavcodec/timecode.h
View file @
b90d79ec
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment