[vlc-commits] packetizer: hevc: fix xPS id extraction
Francois Cartegnie
git at videolan.org
Thu Oct 22 18:52:54 CEST 2020
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Oct 22 13:38:10 2020 +0200| [28ebce9643756b019f3b254506cb2ff2bcd5fb73] | committer: Francois Cartegnie
packetizer: hevc: fix xPS id extraction
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=28ebce9643756b019f3b254506cb2ff2bcd5fb73
---
modules/packetizer/hevc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/packetizer/hevc.c b/modules/packetizer/hevc.c
index 4b3ee0d2bf..3fceb54037 100644
--- a/modules/packetizer/hevc.c
+++ b/modules/packetizer/hevc.c
@@ -794,7 +794,7 @@ static block_t * ParseAUHead(decoder_t *p_dec, uint8_t i_nal_type, block_t *p_na
const uint8_t *p_xps = p_nalb->p_buffer;
size_t i_xps = p_nalb->i_buffer;
if(hxxx_strip_AnnexB_startcode(&p_xps, &i_xps) &&
- hevc_get_xps_id(p_nalb->p_buffer, p_nalb->i_buffer, &i_id))
+ hevc_get_xps_id(p_xps, i_xps, &i_id))
InsertXPS(p_dec, i_nal_type, i_id, p_nalb);
if(p_sys->sets != SENT) /* will store/inject on first recovery point */
{
More information about the vlc-commits
mailing list