[vlc-commits] packetizer: hevc: fix using all non active xps as extradata

Francois Cartegnie git at videolan.org
Thu Oct 22 18:52:57 CEST 2020


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Oct 22 17:56:25 2020 +0200| [fbf2bdcccb644b4f5032294c79fc397af8300a23] | committer: Francois Cartegnie

packetizer: hevc: fix using all non active xps as extradata

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fbf2bdcccb644b4f5032294c79fc397af8300a23
---

 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 0b5a837e65..33765c38d2 100644
--- a/modules/packetizer/hevc.c
+++ b/modules/packetizer/hevc.c
@@ -550,7 +550,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