On Wed, 30 Aug 2017 20:52:40 +0800
Steven Liu <l...@chinaffmpeg.org> wrote:

> +        media_val = xmlGetProp(fragmenturl_node, "media");
> +        if (media_val) {
> +            struct fragment *seg = av_mallocz(sizeof(struct fragment));
> +            if (!seg) {
> +                av_free(media_val);

Most likely you need to use the xmlFree function here (I don't remember
its exact name). Ideally, both functions would map to free(), but
that's not necessarily the case, which could cause problems. Also, on
Windows, both libs could be linked to different CRT libs, which would
also mean their malloc/free are incompatible.

Sorry if my comment on the last patches was misleading.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to