[vlc-commits] dirac: Use GetDWBE
Hugo Beauzée-Luyssen
git at videolan.org
Sun Nov 12 14:25:28 CET 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sun Nov 12 10:37:03 2017 +0100| [70c9111fc15dcfa6593cb208f1900db3164881c5] | committer: Rémi Denis-Courmont
dirac: Use GetDWBE
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=70c9111fc15dcfa6593cb208f1900db3164881c5
---
modules/packetizer/dirac.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/packetizer/dirac.c b/modules/packetizer/dirac.c
index 6e8d7c50ba..fc4a0ded8e 100644
--- a/modules/packetizer/dirac.c
+++ b/modules/packetizer/dirac.c
@@ -481,8 +481,8 @@ static bool dirac_UnpackParseInfo( parse_info_t *p_pi, block_bytestream_t *p_bs,
return false;
p_pi->i_parse_code = p_d[4];
- p_pi->u_next_offset = p_d[5] << 24 | p_d[6] << 16 | p_d[7] << 8 | p_d[8];
- p_pi->u_prev_offset = p_d[9] << 24 | p_d[10] << 16 | p_d[11] << 8 | p_d[12];
+ p_pi->u_next_offset = GetDWBE( &p_d[5] );
+ p_pi->u_prev_offset = GetDWBE( &p_d[9] );
return true;
}
More information about the vlc-commits
mailing list