[FFmpeg-cvslog] r13869 - trunk/ffmpeg.c
bcoudurier
subversion
Sun Jun 22 03:36:16 CEST 2008
Author: bcoudurier
Date: Sun Jun 22 03:36:15 2008
New Revision: 13869
Log:
cosmetics, reindent
Modified:
trunk/ffmpeg.c
Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c (original)
+++ trunk/ffmpeg.c Sun Jun 22 03:36:15 2008
@@ -1338,10 +1338,10 @@ static int output_packet(AVInputStream *
else
opkt.pts= AV_NOPTS_VALUE;
- if (pkt->dts == AV_NOPTS_VALUE)
- opkt.dts = av_rescale_q(ist->next_pts, AV_TIME_BASE_Q, ost->st->time_base);
- else
- opkt.dts = av_rescale_q(pkt->dts, ist->st->time_base, ost->st->time_base);
+ if (pkt->dts == AV_NOPTS_VALUE)
+ opkt.dts = av_rescale_q(ist->next_pts, AV_TIME_BASE_Q, ost->st->time_base);
+ else
+ opkt.dts = av_rescale_q(pkt->dts, ist->st->time_base, ost->st->time_base);
opkt.duration = av_rescale_q(pkt->duration, ist->st->time_base, ost->st->time_base);
opkt.flags= pkt->flags;
More information about the ffmpeg-cvslog
mailing list