diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-10-03 12:58:14 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-10-03 12:58:14 +0000 |
commit | e0c91bc23b44043633ce65952146254b5e965ab1 (patch) | |
tree | e031e22d56886f05a4fd0dbb0c7afea3458734cf /libavformat/utils.c | |
parent | 2031ba1bf27bd9502329594761c436d6613029ec (diff) | |
download | ffmpeg-e0c91bc23b44043633ce65952146254b5e965ab1.tar.gz |
initial dts fix
Originally committed as revision 3555 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index f8223a0d0a..7129b39b76 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -1979,8 +1979,8 @@ static void compute_pkt_fields2(AVStream *st, AVPacket *pkt){ static void truncate_ts(AVStream *st, AVPacket *pkt){ int64_t pts_mask = (2LL << (st->pts_wrap_bits-1)) - 1; - if(pkt->dts < 0) - pkt->dts= 0; //this happens for low_delay=0 and b frames, FIXME, needs further invstigation about what we should do here +// if(pkt->dts < 0) +// pkt->dts= 0; //this happens for low_delay=0 and b frames, FIXME, needs further invstigation about what we should do here pkt->pts &= pts_mask; pkt->dts &= pts_mask; |