diff options
author | Clément Bœsch <clement.boesch@smartjog.com> | 2011-12-07 10:44:50 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2011-12-12 17:49:34 +0100 |
commit | 80914cde6f2b5d6584c74bad6b3613d16dfbda67 (patch) | |
tree | bd6fee73a0ebaae4974e70b09193b8ee24f09236 /libavcodec/mpeg12enc.c | |
parent | fa4e30af7e589c27437d2b96a384d4ad1c3485ad (diff) | |
download | ffmpeg-streaming-80914cde6f2b5d6584c74bad6b3613d16dfbda67.zip ffmpeg-streaming-80914cde6f2b5d6584c74bad6b3613d16dfbda67.tar.gz |
timecode: rename internal ff_* symbols to avpriv_*.
Those functions are shared between libs.
Also fix a typo in function names: smtpe → smpte.
Diffstat (limited to 'libavcodec/mpeg12enc.c')
-rw-r--r-- | libavcodec/mpeg12enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpeg12enc.c b/libavcodec/mpeg12enc.c index 3cfe733..195d14e 100644 --- a/libavcodec/mpeg12enc.c +++ b/libavcodec/mpeg12enc.c @@ -182,7 +182,7 @@ static av_cold int encode_init(AVCodecContext *avctx) if (s->tc.str) { s->tc.rate = avpriv_frame_rate_tab[s->frame_rate_index]; - if (ff_init_smtpe_timecode(s, &s->tc) < 0) + if (avpriv_init_smpte_timecode(s, &s->tc) < 0) return -1; s->avctx->timecode_frame_start = s->tc.start; } else { @@ -303,7 +303,7 @@ static void mpeg1_encode_sequence_header(MpegEncContext *s) s->gop_picture_number = s->current_picture_ptr->f.coded_picture_number; av_assert0(s->drop_frame_timecode == s->tc.drop); if (s->tc.drop) - time_code = ff_framenum_to_drop_timecode(time_code); + time_code = avpriv_framenum_to_drop_timecode(time_code); put_bits(&s->pb, 5, (uint32_t)((time_code / (fps * 3600)) % 24)); put_bits(&s->pb, 6, (uint32_t)((time_code / (fps * 60)) % 60)); put_bits(&s->pb, 1, 1); |