On Fri, May 24, 2019 at 11:58:51 +0200, Michael Niedermayer wrote:
> >          if (boundary != NULL) {
> > -            mpjpeg->boundary = boundary;
> > -            mpjpeg->searchstr = av_asprintf( "\r\n%s\r\n", boundary );
> > +            mpjpeg->boundary = av_asprintf("--%s", boundary);
>
> memleak

Thanks for noticing. I'll post a V2 - verified with valgrind.

> also a testcase would be good to have, idealy in fate

Will try.

Moritz
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to