diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2020-03-31 09:23:19 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-10-03 20:50:49 +0200 |
commit | 8a23159797f8ab60c4e01307e94d2801149617b0 (patch) | |
tree | 80ac244becd846c4f5dac35bb9e03bbdbbcb9a61 /fftools | |
parent | 259026b45758295d045e91b3a4456bd2c0249c47 (diff) |
fftools/ffmpeg, doc/examples: Remove redundant av_packet_unref
av_interleaved_write_frame() already returns blank packets.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'fftools')
-rw-r--r-- | fftools/ffmpeg.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 98c2421938..bb29e3cec5 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -871,7 +871,6 @@ static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int u main_return_code = 1; close_all_output_streams(ost, MUXER_FINISHED | ENCODER_FINISHED, ENCODER_FINISHED); } - av_packet_unref(pkt); } static void close_output_stream(OutputStream *ost) |