summaryrefslogtreecommitdiff
path: root/libavcodec/cbs_h2645.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2020-04-24 17:41:47 -0300
committerJames Almer <jamrial@gmail.com>2020-05-03 19:53:01 -0300
commit3d51d3b42d0eee10301b06aaa814454c5e38eed6 (patch)
tree9ee699c90c8ad047c5b9e9a69b2e64aafc41aa71 /libavcodec/cbs_h2645.c
parent3a41bac4e2d0891dcfc19b73a3dfae0e70237084 (diff)
downloadffmpeg-3d51d3b42d0eee10301b06aaa814454c5e38eed6.tar.gz
avcodec/cbs_h265: add missing support for reserved_payload_extension_data SEI bits
Fixes ticket #8622 Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/cbs_h2645.c')
-rw-r--r--libavcodec/cbs_h2645.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c
index 095e449ddc..b432921ecc 100644
--- a/libavcodec/cbs_h2645.c
+++ b/libavcodec/cbs_h2645.c
@@ -553,6 +553,7 @@ static void cbs_h265_free_sei_payload(H265RawSEIPayload *payload)
av_buffer_unref(&payload->payload.other.data_ref);
break;
}
+ av_buffer_unref(&payload->extension_data.data_ref);
}
static void cbs_h265_free_sei(void *opaque, uint8_t *content)