[FFmpeg-devel] [PATCH]support for chapters in mkv container

Anton Khirnov wyskas
Tue May 20 14:02:34 CEST 2008


On Tue, May 20, 2008 at 12:14 PM, Aurelien Jacobs <aurel at gnuage.org> wrote:
> Anton Khirnov wrote:
>
>> Ok, all done.
>>
>> [...]
>>
>> Index: libavformat/utils.c
>> ===================================================================
>> --- libavformat/utils.c       (revision 13202)
>> +++ libavformat/utils.c       (working copy)
>> @@ -2148,6 +2148,11 @@
>>      av_freep(&s->programs);
>>      flush_packet_queue(s);
>>      av_freep(&s->priv_data);
>> +    for(i = 0; i < s->num_chapters; i++) {
>> +        av_freep(&s->chapters[i]->title);
>> +        av_freep(&s->chapters[i]);
>> +    }
>> +    av_freep(&s->chapters);
>
> No, it seems you haven't applied every proposition from Michael.
>
> Aurel
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>

Oops, shouldn't have programmed early in the morning :)

Anton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chapters_lavf.diff
Type: application/octet-stream
Size: 2531 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080520/6bd88482/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chapters_mkv.diff
Type: application/octet-stream
Size: 7409 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080520/6bd88482/attachment-0001.obj>



More information about the ffmpeg-devel mailing list