diff options
author | Vasyl' Vavrychuk <vvavrychuk@gmail.com> | 2011-01-30 15:24:00 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-01-30 16:39:27 +0000 |
commit | 665132e6204766b1d43ce413d6b1cc2a1d34ea29 (patch) | |
tree | bc13e48899063d2797f82e29e6f9ee01b17879ed /libavformat/mpeg.h | |
parent | d33ed7b36762bf26694bdfa18e0d811e26c996f8 (diff) | |
download | ffmpeg-665132e6204766b1d43ce413d6b1cc2a1d34ea29.tar.gz |
mpegts: remove get_pts duplicate of ff_parse_pes_pts.
Signed-off-by: Vasyl' Vavrychuk <vvavrychuk@gmail.com>
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavformat/mpeg.h')
-rw-r--r-- | libavformat/mpeg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpeg.h b/libavformat/mpeg.h index d09b2e81bc..ca019c9eb2 100644 --- a/libavformat/mpeg.h +++ b/libavformat/mpeg.h @@ -63,7 +63,7 @@ static const int lpcm_freq_tab[4] = { 48000, 96000, 44100, 32000 }; /** * Parse MPEG-PES five-byte timestamp */ -static inline int64_t ff_parse_pes_pts(uint8_t *buf) { +static inline int64_t ff_parse_pes_pts(const uint8_t *buf) { return (int64_t)(*buf & 0x0e) << 29 | (AV_RB16(buf+1) >> 1) << 15 | AV_RB16(buf+3) >> 1; |