Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
207fa224
Commit
207fa224
authored
Feb 03, 2017
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/mpc8: use init_get_bits8()
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
7d169ba1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
mpc8.c
libavcodec/mpc8.c
+3
-1
No files found.
libavcodec/mpc8.c
View file @
207fa224
...
...
@@ -261,7 +261,9 @@ static int mpc8_decode_frame(AVCodecContext * avctx, void *data,
memset
(
c
->
Q
,
0
,
sizeof
(
c
->
Q
));
c
->
last_bits_used
=
0
;
}
init_get_bits
(
gb
,
buf
,
buf_size
*
8
);
if
((
res
=
init_get_bits8
(
gb
,
buf
,
buf_size
))
<
0
)
return
res
;
skip_bits
(
gb
,
c
->
last_bits_used
&
7
);
if
(
keyframe
)
...
...
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