diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-05 23:18:29 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-10-03 20:56:05 +0200 |
commit | c2bb05497911a0900b745eaa4a7f05d72b3610ef (patch) | |
tree | 4c7e4eb27b0ff755ee3f352d69e668ab910f9160 /libavformat/mux.c | |
parent | eadb1cd6f85178231259878f01890be9dbb0f222 (diff) | |
download | ffmpeg-c2bb05497911a0900b745eaa4a7f05d72b3610ef.tar.gz |
avformat/internal: Allow AVFormatInternal.pkt to be used by muxers
It is unused by the generic muxing code.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/mux.c')
-rw-r--r-- | libavformat/mux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mux.c b/libavformat/mux.c index 3d007ec943..be9ba88365 100644 --- a/libavformat/mux.c +++ b/libavformat/mux.c @@ -1292,6 +1292,7 @@ int av_write_trailer(AVFormatContext *s) if (s->oformat->priv_class) av_opt_free(s->priv_data); av_freep(&s->priv_data); + av_packet_unref(si->pkt); return ret; } |