summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-22 01:36:15 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-22 01:36:15 +0000
commitd2ce2f5e5c7578c29c87565937a841aeffe11e76 (patch)
tree7a1a5b56ba9866617046c86bd8bcd7922462637d /ffmpeg.c
parentdbedf2aae26c44d3d310831dd1097900d5a539d9 (diff)
cosmetics, reindent
Originally committed as revision 13869 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index e20ac1141a..456c7ad356 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1338,10 +1338,10 @@ static int output_packet(AVInputStream *ist, int ist_index,
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;