[vlc-commits] packetizer: hevc: fix using all non active xps as extradata
Francois Cartegnie
git at videolan.org
Fri Oct 23 17:16:02 CEST 2020
vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Oct 22 17:56:25 2020 +0200| [a25643fa58cb172e02821a2a066333eadef00fb1] | committer: Francois Cartegnie
packetizer: hevc: fix using all non active xps as extradata
(cherry picked from commit fbf2bdcccb644b4f5032294c79fc397af8300a23)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=a25643fa58cb172e02821a2a066333eadef00fb1
---
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 16fc8bbf92..c1742b890f 100644
--- a/modules/packetizer/hevc.c
+++ b/modules/packetizer/hevc.c
@@ -506,7 +506,7 @@ static void AppendAsAnnexB(const block_t *p_block,
if(((set != rg[i].p_decoded) == !b) && rg[i].p_nal)\
{\
AppendAsAnnexB(rg[i].p_nal, &p_data, &i_data);\
- break;\
+ if(b) break;\
}\
}
More information about the vlc-commits
mailing list