From 4ab2f4c688d5acd05c26e8544af69a6d0fc10599 Mon Sep 17 00:00:00 2001 From: Kieran Kunhya Date: Mon, 8 Apr 2024 21:21:07 +0100 Subject: [PATCH] upipe-framers/h265: Fix AUD generation --- lib/upipe-framers/upipe_h265_framer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/upipe-framers/upipe_h265_framer.c b/lib/upipe-framers/upipe_h265_framer.c index 172a340c1..b7a19b1e9 100644 --- a/lib/upipe-framers/upipe_h265_framer.c +++ b/lib/upipe-framers/upipe_h265_framer.c @@ -2753,7 +2753,7 @@ static int upipe_h265f_check_ubuf_mgr(struct upipe *upipe, UBASE_ALLOC_RETURN(upipe_h265f->annexb_header); ubuf_free(upipe_h265f->annexb_aud); - uint8_t aud_buffer[6] = { 0, 0, 0, 1, 0, 0 }; + uint8_t aud_buffer[6] = { 0, 0, 0, 1, 0, 1 }; h265nal_set_type(aud_buffer + 1, H265NAL_TYPE_AUD); upipe_h265f->annexb_aud = ubuf_block_alloc_from_opaque(upipe_h265f->ubuf_mgr, aud_buffer, 6);