Skip to content

Commit

Permalink
upipe-framers/h265: Fix AUD generation
Browse files Browse the repository at this point in the history
  • Loading branch information
kierank authored and cmassiot committed Aug 26, 2024
1 parent acd8412 commit 4ab2f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/upipe-framers/upipe_h265_framer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4ab2f4c

Please sign in to comment.