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
1f9bc310
Commit
1f9bc310
authored
Jul 04, 2012
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sanm: remove code duplication
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
3b9dd906
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
sanm.c
libavcodec/sanm.c
+2
-3
No files found.
libavcodec/sanm.c
View file @
1f9bc310
...
...
@@ -480,9 +480,8 @@ static int old_codec37(SANMVideoContext *ctx, int top,
if
(
compr
==
4
&&
!
code
)
{
if
(
bytestream2_get_bytes_left
(
&
ctx
->
gb
)
<
1
)
return
AVERROR_INVALIDDATA
;
skip_run
=
bytestream2_get_byteu
(
&
ctx
->
gb
);
for
(
k
=
0
;
k
<
4
;
k
++
)
memcpy
(
dst
+
i
+
k
*
stride
,
prev
+
i
+
k
*
stride
,
4
);
skip_run
=
bytestream2_get_byteu
(
&
ctx
->
gb
)
+
1
;
i
-=
4
;
}
else
{
int
mx
,
my
;
...
...
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