diff --git a/libavformat/segment.c b/libavformat/segment.c index f1147a76c015f78e91a28d08030b12bc8b28a20e..c25a2951c4ce96708742df32bd3ed6bd8fd183a2 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -708,10 +708,10 @@ static int seg_write_packet(AVFormatContext *s, AVPacket *pkt) } av_dlog(s, "packet stream:%d pts:%s pts_time:%s duration_time:%s is_key:%d frame:%d\n", - pkt->stream_index, av_ts2str(pkt->pts), av_ts2timestr(pkt->pts, &st->time_base), - av_ts2timestr(pkt->duration, &st->time_base), - pkt->flags & AV_PKT_FLAG_KEY, - pkt->stream_index == seg->reference_stream_index ? seg->frame_count : -1); + pkt->stream_index, av_ts2str(pkt->pts), av_ts2timestr(pkt->pts, &st->time_base), + av_ts2timestr(pkt->duration, &st->time_base), + pkt->flags & AV_PKT_FLAG_KEY, + pkt->stream_index == seg->reference_stream_index ? seg->frame_count : -1); if (pkt->stream_index == seg->reference_stream_index && pkt->flags & AV_PKT_FLAG_KEY &&