]> git.sesse.net Git - ffmpeg/commit
avformat/segment: Remove redundant code for freeing in write_trailer
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 5 Sep 2020 21:45:22 +0000 (23:45 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 10 Sep 2020 11:44:12 +0000 (13:44 +0200)
commit5db09e8930e7914ab3169d26502cb989ec0adc90
treec50969798234ada1ecfcc18a604f195180b4fc75
parent848f96a2a6f1f60c8e0539a421d08ce8b4f24139
avformat/segment: Remove redundant code for freeing in write_trailer

This code mostly duplicates code in the deinit function; the only
exception is av_opt_free(): The options are freed generically lateron.

Reviewed-by: Ridley Combs <rcombs@rcombs.me>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/segment.c