Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
457
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
98b2285f
Commit
98b2285f
authored
9 years ago
by
Steve Lhomme
Committed by
Jean-Baptiste Kempf
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
vlc_bits: fix a bad cast when included from C++
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
f13c172e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/vlc_bits.h
+2
-1
2 additions, 1 deletion
include/vlc_bits.h
with
2 additions
and
1 deletion
include/vlc_bits.h
+
2
−
1
View file @
98b2285f
...
...
@@ -53,7 +53,8 @@ static inline void bs_write_init( bs_t *s, void *p_data, size_t i_data )
s
->
p_end
=
s
->
p_start
+
i_data
;
s
->
i_left
=
8
;
s
->
b_read_only
=
false
;
s
->
pf_forward
=
s
->
p_fwpriv
=
NULL
;
s
->
p_fwpriv
=
NULL
;
s
->
pf_forward
=
NULL
;
}
static
inline
void
bs_init
(
bs_t
*
s
,
const
void
*
p_data
,
size_t
i_data
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment