[FFmpeg-devel] [PATCH 1/2] lavc: switch from ts_end to duration in ff_ass_add_rect.

Clément Bœsch ubitux at gmail.com
Sun May 27 01:54:20 CEST 2012


On Sat, May 26, 2012 at 10:39:21PM +0200, Clément Bœsch wrote:
[...]
>      if (!raw) {
>          ts_to_string(s_start, sizeof(s_start), ts_start);
> -        ts_to_string(s_end,   sizeof(s_end),   ts_end  );
> +        if (duration == -1)
> +            snprintf(s_end, sizeof(s_end), "23:59:59.99");

Consider this changed to "9:59:59.99", since only one digit is allowed for
hours.

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120527/ed25520a/attachment.asc>


More information about the ffmpeg-devel mailing list