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
9136e65c
Commit
9136e65c
authored
Sep 03, 2015
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/fraps: use init_get_bits8()
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
4cad4bd4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
fraps.c
libavcodec/fraps.c
+3
-1
No files found.
libavcodec/fraps.c
View file @
9136e65c
...
@@ -105,7 +105,9 @@ static int fraps2_decode_plane(FrapsContext *s, uint8_t *dst, int stride, int w,
...
@@ -105,7 +105,9 @@ static int fraps2_decode_plane(FrapsContext *s, uint8_t *dst, int stride, int w,
s
->
bdsp
.
bswap_buf
((
uint32_t
*
)
s
->
tmpbuf
,
s
->
bdsp
.
bswap_buf
((
uint32_t
*
)
s
->
tmpbuf
,
(
const
uint32_t
*
)
src
,
size
>>
2
);
(
const
uint32_t
*
)
src
,
size
>>
2
);
init_get_bits
(
&
gb
,
s
->
tmpbuf
,
size
*
8
);
if
((
ret
=
init_get_bits8
(
&
gb
,
s
->
tmpbuf
,
size
))
<
0
)
return
ret
;
for
(
j
=
0
;
j
<
h
;
j
++
)
{
for
(
j
=
0
;
j
<
h
;
j
++
)
{
for
(
i
=
0
;
i
<
w
*
step
;
i
+=
step
)
{
for
(
i
=
0
;
i
<
w
*
step
;
i
+=
step
)
{
dst
[
i
]
=
get_vlc2
(
&
gb
,
vlc
.
table
,
VLC_BITS
,
3
);
dst
[
i
]
=
get_vlc2
(
&
gb
,
vlc
.
table
,
VLC_BITS
,
3
);
...
...
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