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

Aurelien Jacobs aurel
Tue May 20 12:14:10 CEST 2008


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




More information about the ffmpeg-devel mailing list