Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From a0bed049f0fa46d203c77dcf822b48e41beec523 Mon Sep 17 00:00:00 2001
- From: Hendrik Leppkes <h.leppkes@gmail.com>
- Date: Thu, 2 Nov 2017 18:02:18 +0100
- Subject: [PATCH] h2645_parse: deallocate nals before splitting
- ---
- libavcodec/h2645_parse.c | 1 +
- 1 file changed, 1 insertion(+)
- diff --git a/libavcodec/h2645_parse.c b/libavcodec/h2645_parse.c
- index b0d9ff66f0..72ef46f798 100644
- --- a/libavcodec/h2645_parse.c
- +++ b/libavcodec/h2645_parse.c
- @@ -255,6 +255,7 @@ int ff_h2645_packet_split(H2645Packet *pkt, const uint8_t *buf, int length,
- const uint8_t *next_avc = is_nalff ? buf : buf + length;
- pkt->nb_nals = 0;
- + ff_h2645_packet_uninit(pkt);
- while (length >= 4) {
- H2645NAL *nal;
- int extract_length = 0;
- --
- 2.13.2.windows.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement