diff options
-rw-r--r-- | ffmpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1633,6 +1633,7 @@ static void do_video_out(AVFormatContext *s, OutputStream *ost, write_frame(s, &pkt, ost); frame_size = pkt.size; video_size += pkt.size; + av_free_packet(&pkt); /* if two pass, output log */ if (ost->logfile && enc->stats_out) { |