[vlc-commits] packetizer: h264: skip instead of read

Francois Cartegnie git at videolan.org
Fri Dec 1 17:16:58 CET 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Dec  1 15:31:56 2017 +0100| [0f4f98865afbd2aad3e2de3ecd23f0540c5694ca] | committer: Francois Cartegnie

packetizer: h264: skip instead of read

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

 modules/packetizer/h264_nal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/packetizer/h264_nal.c b/modules/packetizer/h264_nal.c
index 0e829c37d4..847f976a44 100644
--- a/modules/packetizer/h264_nal.c
+++ b/modules/packetizer/h264_nal.c
@@ -584,7 +584,7 @@ static bool h264_parse_picture_parameter_set_rbsp( bs_t *p_bs,
             }
             for( unsigned i = 0; i < pic_size_in_maps_units; i++ )
             {
-                bs_read( p_bs, sliceGroupSize );
+                bs_skip( p_bs, sliceGroupSize );
             }
         }
     }



More information about the vlc-commits mailing list