[FFmpeg-devel] [PATCH 1/3] lavf/segment: style nit

Stefano Sabatini stefasab at gmail.com
Fri Mar 25 14:49:38 CET 2016


On date Sunday 2016-03-06 20:49:22 -0600, Rodger Combs encoded:
> ---
>  libavformat/segment.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavformat/segment.c b/libavformat/segment.c
> index dd3b092..818c0c9 100644
> --- a/libavformat/segment.c
> +++ b/libavformat/segment.c
> @@ -809,7 +809,7 @@ static int seg_write_packet(AVFormatContext *s, AVPacket *pkt)
>          (seg->cut_pending || seg->frame_count >= start_frame ||
>           (pkt->pts != AV_NOPTS_VALUE &&
>            av_compare_ts(pkt->pts, st->time_base,
> -                        end_pts-seg->time_delta, AV_TIME_BASE_Q) >= 0))) {
> +                        end_pts - seg->time_delta, AV_TIME_BASE_Q) >= 0))) {
>          /* sanitize end time in case last packet didn't have a defined duration */
>          if (seg->cur_entry.last_duration == 0)
>              seg->cur_entry.end_time = (double)pkt->pts * av_q2d(st->time_base);

LGTM.
-- 
FFmpeg = Faithful & Frenzy Multimedia Philosofic Emblematic Geek


More information about the ffmpeg-devel mailing list