[vlc-commits] packetizer: hxxx: fix double ep3b removal
    Francois Cartegnie 
    git at videolan.org
       
    Mon Apr 20 09:56:20 CEST 2020
    
    
  
vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Apr 15 17:49:19 2020 +0200| [3e8e50865feaf2ff535d15ae257dcfad226f04ce] | committer: Francois Cartegnie
packetizer: hxxx: fix double ep3b removal
(cherry picked from commit e8509578355228a3f8a7ac135688ce5b610735af)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=3e8e50865feaf2ff535d15ae257dcfad226f04ce
---
 modules/packetizer/hxxx_nal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/packetizer/hxxx_nal.h b/modules/packetizer/hxxx_nal.h
index 73657c0e66..13061e1b94 100644
--- a/modules/packetizer/hxxx_nal.h
+++ b/modules/packetizer/hxxx_nal.h
@@ -221,7 +221,7 @@ static inline uint8_t *hxxx_bsfw_ep3b_to_rbsp( uint8_t *p, uint8_t *end, void *p
             if( (*pi_prev & 0x06) == 0x06 )
             {
                 ++p;
-                *pi_prev = ((*pi_prev >> 1) << 1) | (!*p);
+                *pi_prev = !*p;
             }
         }
     }
    
    
More information about the vlc-commits
mailing list