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
c30d04ce
Commit
c30d04ce
authored
Mar 28, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lagarithrac: fix length used in ff_lag_rac_init()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
7b453d1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
lagarithrac.c
libavcodec/lagarithrac.c
+1
-2
No files found.
libavcodec/lagarithrac.c
View file @
c30d04ce
...
...
@@ -40,8 +40,7 @@ void ff_lag_rac_init(lag_rac *l, GetBitContext *gb, int length)
align_get_bits
(
gb
);
l
->
bytestream_start
=
l
->
bytestream
=
gb
->
buffer
+
get_bits_count
(
gb
)
/
8
;
l
->
bytestream_end
=
l
->
bytestream_start
+
length
;
l
->
bytestream_end
=
l
->
bytestream_start
+
get_bits_left
(
gb
)
/
8
;
l
->
range
=
0x80
;
l
->
low
=
*
l
->
bytestream
>>
1
;
l
->
hash_shift
=
FFMAX
(
l
->
scale
-
8
,
0
);
...
...
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