Commit fe3c22e0 authored by Hendrik Leppkes's avatar Hendrik Leppkes

Merge commit 'f0ca6ffa'

* commit 'f0ca6ffa':
  avprobe: Unref the packet once it is used
Merged-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
parents 5fe15785 f0ca6ffa
......@@ -2056,7 +2056,7 @@ static int read_interval_packets(WriterContext *w, AVFormatContext *fmt_ctx,
while (pkt1.size && process_frame(w, fmt_ctx, frame, &pkt1) > 0);
}
}
av_free_packet(&pkt);
av_packet_unref(&pkt);
}
av_init_packet(&pkt);
pkt.data = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment