summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-16 01:07:53 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-16 01:07:53 +0100
commit1e901ffc619459944ae7102428f48972cd899caa (patch)
tree1dce3e37f455576cdf00aa10691e8b9aae020aa0 /libavformat/utils.c
parent1662bd350a470f1cbd5c2cc9a0e1bfaa8543033f (diff)
wrap_timestamp: remove unneeded check
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 88aacd4cdb..92207be1bc 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -87,7 +87,7 @@ static int is_relative(int64_t ts) {
*/
static int64_t wrap_timestamp(AVStream *st, int64_t timestamp)
{
- if (st->pts_wrap_behavior != AV_PTS_WRAP_IGNORE && st->pts_wrap_bits < 64 &&
+ if (st->pts_wrap_behavior != AV_PTS_WRAP_IGNORE &&
st->pts_wrap_reference != AV_NOPTS_VALUE && timestamp != AV_NOPTS_VALUE) {
if (st->pts_wrap_behavior == AV_PTS_WRAP_ADD_OFFSET &&
timestamp < st->pts_wrap_reference)