timecode: rename internal ff_* symbols to avpriv_*.
Those functions are shared between libs. Also fix a typo in function names: smtpe → smpte.
This commit is contained in:
committed by
Clément Bœsch
parent
fa4e30af7e
commit
80914cde6f
@@ -1432,7 +1432,7 @@ static int mxf_write_header(AVFormatContext *s)
|
||||
if (mxf->tc.str) {
|
||||
mxf->tc.rate.num = mxf->time_base.den;
|
||||
mxf->tc.rate.den = mxf->time_base.num;
|
||||
if (ff_init_smtpe_timecode(s, &mxf->tc) < 0)
|
||||
if (avpriv_init_smpte_timecode(s, &mxf->tc) < 0)
|
||||
return -1;
|
||||
}
|
||||
if (s->oformat == &ff_mxf_d10_muxer) {
|
||||
@@ -1572,9 +1572,9 @@ static void mxf_write_system_item(AVFormatContext *s)
|
||||
avio_w8(pb, 0x81); // SMPTE 12M time code
|
||||
time_code = frame;
|
||||
if (mxf->tc.drop)
|
||||
time_code = ff_framenum_to_drop_timecode(time_code);
|
||||
time_code = ff_framenum_to_smtpe_timecode(time_code, mxf->timecode_base,
|
||||
mxf->tc.drop);
|
||||
time_code = avpriv_framenum_to_drop_timecode(time_code);
|
||||
time_code = avpriv_framenum_to_smpte_timecode(time_code, mxf->timecode_base,
|
||||
mxf->tc.drop);
|
||||
avio_wb32(pb, time_code);
|
||||
avio_wb32(pb, 0); // binary group data
|
||||
avio_wb64(pb, 0);
|
||||
|
||||
Reference in New Issue
Block a user