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

Martin Storsjö martin
Mon May 24 23:54:50 CEST 2010


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.

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

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-sure-cur_dts-is-initialized-before-calling-upda.patch
Type: text/x-diff
Size: 1072 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100525/9aadd879/attachment.patch>



More information about the ffmpeg-devel mailing list