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

Francois Cartegnie git at videolan.org
Fri Dec 1 15:46:04 CET 2017


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

packetizer: h264: skip instead of read

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

 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