[FFmpeg-devel] [PATCH] Make sure AVFormatContext->start_time is initialized after the first patch

Howard Chu hyc
Tue May 25 02:20:12 CEST 2010


Martin Storsj? wrote:
> Hi,
>
> When discussing a ffserver patch with Baptiste, he insisted that if
> AVFormatContext->start_time isn't initialized after the first packet, it's
> a bug that should be fixed within libavformat, instead of handled in
> ffserver.
>
> This attached patch is one way of solving it, although I'm not sure if
> this is the correct way.

That almost worked, but there's a special case for H264 too.

> Or is it incorrect to demand that AVFormatContext->start_time is
> initialized after the first packet, and thus still should be handled in
> ffserver?


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: utils.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100524/e5f02b52/attachment.txt>



More information about the ffmpeg-devel mailing list