[Ffmpeg-cvslog] r8428 - trunk/libavformat/utils.c
michael
subversion
Sat Mar 17 03:23:53 CET 2007
Author: michael
Date: Sat Mar 17 03:23:53 2007
New Revision: 8428
Modified:
trunk/libavformat/utils.c
Log:
remove useless if()
Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c (original)
+++ trunk/libavformat/utils.c Sat Mar 17 03:23:53 2007
@@ -632,7 +632,7 @@ static void compute_pkt_fields(AVFormatC
st->last_IP_pts= pkt->pts;
/* cannot compute PTS if not present (we can compute it only
by knowing the futur */
- } else if(pkt->pts != AV_NOPTS_VALUE || pkt->dts != AV_NOPTS_VALUE || pkt->duration){
+ } else {
if(pkt->pts != AV_NOPTS_VALUE && pkt->duration){
int64_t old_diff= FFABS(st->cur_dts - pkt->duration - pkt->pts);
int64_t new_diff= FFABS(st->cur_dts - pkt->pts);
More information about the ffmpeg-cvslog
mailing list