diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-16 01:07:53 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-16 01:07:53 +0100 |
commit | 1e901ffc619459944ae7102428f48972cd899caa (patch) | |
tree | 1dce3e37f455576cdf00aa10691e8b9aae020aa0 /libavformat/utils.c | |
parent | 1662bd350a470f1cbd5c2cc9a0e1bfaa8543033f (diff) | |
download | ffmpeg-1e901ffc619459944ae7102428f48972cd899caa.tar.gz |
wrap_timestamp: remove unneeded check
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 2 |
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) |