[FFmpeg-devel] [PATCH] AVFormat: LRC demuxer and muxer

Star Brilliant m13253 at hotmail.com
Thu Jul 10 03:47:40 CEST 2014


On 2014-07-10 02:27, Michael Niedermayer wrote:
> On Wed, Jul 09, 2014 at 11:37:31PM +0800, Star Brilliant wrote:
>> On 2014-07-09 23:09, Derek Buitenhuis wrote:
>>> You misunderstand what I am asking. int may be 32bits, and timestamps generate 64.
>>> is LRC guaranteed to only have 32bit timestamps?
>>
>> I find no portable way to scanf a 64-bit integer in C90 standard.
>> sscanf(buf, "%" SCNd64, &ptr); is a C99 thing.
>
> SCNd64 is used in libavformat already, so its use is ok

I have rearranged the code.
Here's the new patch.

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-AVFormat-LRC-demuxer-and-muxer.patch
Type: text/x-patch
Size: 17665 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140710/97c70b65/attachment.bin>


More information about the ffmpeg-devel mailing list