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
b4da4307
Commit
b4da4307
authored
Mar 21, 2017
by
Diego Biurrun
Committed by
Paul B Mahol
Mar 21, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/fmvc: small refactoring in decode_type1()
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
fa8db3f5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
fmvc.c
libavcodec/fmvc.c
+4
-8
No files found.
libavcodec/fmvc.c
View file @
b4da4307
...
...
@@ -380,19 +380,15 @@ static int decode_type1(GetByteContext *gb, PutByteContext *pb)
bytestream2_put_byte
(
pb
,
bytestream2_get_byte
(
&
gbc
));
bytestream2_put_byte
(
pb
,
bytestream2_get_byte
(
&
gbc
));
bytestream2_put_byte
(
pb
,
bytestream2_get_byte
(
&
gbc
));
do
{
bytestream2_put_byte
(
pb
,
bytestream2_get_byte
(
&
gbc
));
--
len
;
}
while
(
len
&&
bytestream2_get_bytes_left
(
&
gbc
)
>
0
);
}
else
{
bytestream2_put_le32
(
pb
,
bytestream2_get_le32
(
&
gbc
));
len
--
;
}
do
{
bytestream2_put_byte
(
pb
,
bytestream2_get_byte
(
&
gbc
));
len
--
;
}
while
(
len
&&
bytestream2_get_bytes_left
(
&
gbc
)
>
0
);
}
}
return
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