Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
3ef5de0f
Commit
3ef5de0f
authored
Jan 18, 2016
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/put_bits: Assert buf_ptr in flush_put_bits()
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
4e17efd8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
put_bits.h
libavcodec/put_bits.h
+1
-1
No files found.
libavcodec/put_bits.h
View file @
3ef5de0f
...
@@ -105,7 +105,7 @@ static inline void flush_put_bits(PutBitContext *s)
...
@@ -105,7 +105,7 @@ static inline void flush_put_bits(PutBitContext *s)
s
->
bit_buf
<<=
s
->
bit_left
;
s
->
bit_buf
<<=
s
->
bit_left
;
#endif
#endif
while
(
s
->
bit_left
<
32
)
{
while
(
s
->
bit_left
<
32
)
{
/* XXX: should test end of buffer */
av_assert0
(
s
->
buf_ptr
<
s
->
buf_end
);
#ifdef BITSTREAM_WRITER_LE
#ifdef BITSTREAM_WRITER_LE
*
s
->
buf_ptr
++
=
s
->
bit_buf
;
*
s
->
buf_ptr
++
=
s
->
bit_buf
;
s
->
bit_buf
>>=
8
;
s
->
bit_buf
>>=
8
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment