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
97f7586c
Commit
97f7586c
authored
May 28, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '
5f30c6c8
'
Merged-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parents
9c66da51
5f30c6c8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
smacker.c
libavcodec/smacker.c
+2
-2
No files found.
libavcodec/smacker.c
View file @
97f7586c
...
@@ -730,7 +730,7 @@ static int smka_decode_frame(AVCodecContext *avctx, void *data,
...
@@ -730,7 +730,7 @@ static int smka_decode_frame(AVCodecContext *avctx, void *data,
return
AVERROR_INVALIDDATA
;
return
AVERROR_INVALIDDATA
;
}
}
pred
[
1
]
+=
sign_extend
(
h
[
1
].
values
[
res
],
8
);
pred
[
1
]
+=
sign_extend
(
h
[
1
].
values
[
res
],
8
);
*
samples8
++
=
av_clip_uint8
(
pred
[
1
])
;
*
samples8
++
=
pred
[
1
]
;
}
else
{
}
else
{
if
(
vlc
[
0
].
table
)
if
(
vlc
[
0
].
table
)
res
=
get_vlc2
(
&
gb
,
vlc
[
0
].
table
,
SMKTREE_BITS
,
3
);
res
=
get_vlc2
(
&
gb
,
vlc
[
0
].
table
,
SMKTREE_BITS
,
3
);
...
@@ -741,7 +741,7 @@ static int smka_decode_frame(AVCodecContext *avctx, void *data,
...
@@ -741,7 +741,7 @@ static int smka_decode_frame(AVCodecContext *avctx, void *data,
return
AVERROR_INVALIDDATA
;
return
AVERROR_INVALIDDATA
;
}
}
pred
[
0
]
+=
sign_extend
(
h
[
0
].
values
[
res
],
8
);
pred
[
0
]
+=
sign_extend
(
h
[
0
].
values
[
res
],
8
);
*
samples8
++
=
av_clip_uint8
(
pred
[
0
])
;
*
samples8
++
=
pred
[
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