[FFmpeg-devel] [FFmpeg-commits] mov: simplify mov_read_chapters() by using avio_get_str16be
Wed Jan 26 07:15:49 CET 2011
On 01/25/2011 02:37 PM, John Stebbins wrote:
> On 01/25/2011 12:47 PM, Anton Khirnov wrote:
>> Module: ffmpeg
>> Branch: master
>> Commit: c34461b35b68ff1f3d04540e0279383c51be8cee
>> Author: Anton Khirnov<anton at khirnov.net>
>> Date: Sun Jan 23 12:38:30 2011 +0100
>> mov: simplify mov_read_chapters() by using avio_get_str16be
>> It probably also fixes a memleak or two.
>> Signed-off-by: Janne Grunau<janne-ffmpeg at jannau.net>
> I don't suppose you would be willing to make this work with little-endian utf16 chapter names as well. I've seen an
> mp4with such names that this (and the previous implementation) would choke on. I can supply the sample if needed.
Here's a patch to that works for us. It's pretty straight forward.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 588 bytes
Desc: not available
More information about the ffmpeg-devel