From 90f66438a5604bba80b728d761a41cac395caafe Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 30 Jul 2007 18:57:47 +0000 Subject: [PATCH] kill antiwrapping code, i do not think this did anything good fixes decoding of rete4.ps closes issue44 Originally committed as revision 9835 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/utils.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 3d4c6cf86..87025c13e 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -589,24 +589,11 @@ static int is_intra_only(AVCodecContext *enc){ return 0; } -static int64_t lsb2full(int64_t lsb, int64_t last_ts, int lsb_bits){ - int64_t mask = lsb_bits < 64 ? (1LL<cur_dts != AV_NOPTS_VALUE){ - if(pkt->pts != AV_NOPTS_VALUE) - pkt->pts= lsb2full(pkt->pts, st->cur_dts, st->pts_wrap_bits); - if(pkt->dts != AV_NOPTS_VALUE) - pkt->dts= lsb2full(pkt->dts, st->cur_dts, st->pts_wrap_bits); - } if (pkt->duration == 0) { compute_frame_duration(&num, &den, st, pc, pkt); -- 2.34.1