Signed-off-by: Stephan Holljes <klaxa1...@googlemail.com> --- ffserver.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/ffserver.c b/ffserver.c index cc7dc6c..f128b55 100644 --- a/ffserver.c +++ b/ffserver.c @@ -646,18 +646,10 @@ end: } av_free(winfos_p[stream_index]); av_free(w_threads_p[stream_index]); - // pubs[stream_index] could be null if the file could not be opened + // pubs[stream_index] could be null if the file could not be opened or mkv was not requested if (pubs[stream_index]) publisher_free(pubs[stream_index]); } - av_free(rinfos); - av_free(winfos_p); - av_free(r_threads); - av_free(w_threads_p); - av_free(pubs); - av_free(ifmt_ctxs); - - return NULL; error_cleanup: av_free(rinfos); -- 2.18.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel