Merge commit 'f0ca6ffa0ae5d5564516ee7a18aa1e234751444a'
* commit 'f0ca6ffa0ae5d5564516ee7a18aa1e234751444a': avprobe: Unref the packet once it is used Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
This commit is contained in:
commit
fe3c22e0c0
@ -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);
|
while (pkt1.size && process_frame(w, fmt_ctx, frame, &pkt1) > 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
av_free_packet(&pkt);
|
av_packet_unref(&pkt);
|
||||||
}
|
}
|
||||||
av_init_packet(&pkt);
|
av_init_packet(&pkt);
|
||||||
pkt.data = NULL;
|
pkt.data = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user