On Thu, Mar 30, 2017 at 04:43:12PM -0400, Jason Pontious wrote:
> I found an issue with a previous commit and I'm submitting the patch here.
> The previous commit was from March '16 https://github.com/FFmpeg/
> FFmpeg/commit/5b4f44f66ae3c42b7497929b6ef5f67e8b1ff0ad
> 
> Previous refactor commit did not produce an equivalent segment end_time in
> all cases.
> When setting end_time, the addition to start_time was completely removed.
> ---
>  libavformat/segment.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/libavformat/segment.c b/libavformat/segment.c
> index 8ec3653..951ca91 100644
> --- a/libavformat/segment.c
> +++ b/libavformat/segment.c
> @@ -904,7 +904,8 @@ calc_times:
>          seg->cur_entry.index = seg->segment_idx + seg->segment_idx_wrap *
> seg->segment_idx_wrap_nb;
>          seg->cur_entry.start_time = (double)pkt->pts *
> av_q2d(st->time_base);

patch is corrupted by newlines

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to