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
ae39132d
Commit
ae39132d
authored
Feb 24, 2003
by
Zdenek Kabelac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* using const buffers for reading
Originally committed as revision 1603 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
24def10e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
common.c
libavcodec/common.c
+1
-1
common.h
libavcodec/common.h
+2
-2
No files found.
libavcodec/common.c
View file @
ae39132d
...
...
@@ -110,7 +110,7 @@ void put_string(PutBitContext * pbc, char *s)
/* bit input functions */
void
init_get_bits
(
GetBitContext
*
s
,
uint8_t
*
buffer
,
int
bit_size
)
const
uint8_t
*
buffer
,
int
bit_size
)
{
const
int
buffer_size
=
(
bit_size
+
7
)
>>
3
;
...
...
libavcodec/common.h
View file @
ae39132d
...
...
@@ -236,7 +236,7 @@ void put_string(PutBitContext * pbc, char *s);
/* bit input */
typedef
struct
GetBitContext
{
uint8_t
*
buffer
,
*
buffer_end
;
const
uint8_t
*
buffer
,
*
buffer_end
;
#ifdef ALT_BITSTREAM_READER
int
index
;
#elif defined LIBMPEG2_BITSTREAM_READER
...
...
@@ -669,7 +669,7 @@ static inline void skip_bits1(GetBitContext *s){
}
void
init_get_bits
(
GetBitContext
*
s
,
uint8_t
*
buffer
,
int
buffer_size
);
const
uint8_t
*
buffer
,
int
buffer_size
);
int
check_marker
(
GetBitContext
*
s
,
const
char
*
msg
);
void
align_get_bits
(
GetBitContext
*
s
);
...
...
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