[vlc-commits] [Git][videolan/vlc][3.0.x] vlc_block_helper: use same type for pi_offset and i_caller_offset_backup
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sat Nov 14 14:17:13 UTC 2026
Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC
Commits:
467f4cf3 by Steve Lhomme at 2026-11-14T14:10:37+00:00
vlc_block_helper: use same type for pi_offset and i_caller_offset_backup
(cherry picked from commit 90d52e6dd246062fb9d4fa857f9ba17d17393892) (edited)
edited:
- the size_t change of i_match has not been done (yet)
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>
- - - - -
1 changed file:
- include/vlc_block_helper.h
Changes:
=====================================
include/vlc_block_helper.h
=====================================
@@ -285,7 +285,8 @@ static inline int block_FindStartcodeFromOffset(
block_t *p_block, *p_block_backup = 0;
ssize_t i_size = 0;
size_t i_offset, i_offset_backup = 0;
- int i_caller_offset_backup = 0, i_match;
+ size_t i_caller_offset_backup = 0;
+ int i_match;
/* Find the right place */
i_size = *pi_offset + p_bytestream->i_block_offset;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/467f4cf351d614000cc768ad0baf979f162349bb
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/467f4cf351d614000cc768ad0baf979f162349bb
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list