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
a2a12e33
Commit
a2a12e33
authored
Jan 02, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vp3: fix regression with mplayer-crash.ogv
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
e1a8164d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
vp3.c
libavcodec/vp3.c
+2
-8
No files found.
libavcodec/vp3.c
View file @
a2a12e33
...
...
@@ -1570,10 +1570,7 @@ static void render_slice(Vp3DecodeContext *s, int slice)
/* invert DCT and place (or add) in final output */
if
(
s
->
all_fragments
[
i
].
coding_method
==
MODE_INTRA
)
{
int
index
;
index
=
vp3_dequant
(
s
,
s
->
all_fragments
+
i
,
plane
,
0
,
block
);
if
(
index
>
63
)
continue
;
vp3_dequant
(
s
,
s
->
all_fragments
+
i
,
plane
,
0
,
block
);
if
(
s
->
avctx
->
idct_algo
!=
FF_IDCT_VP3
)
block
[
0
]
+=
128
<<
3
;
s
->
dsp
.
idct_put
(
...
...
@@ -1581,10 +1578,7 @@ static void render_slice(Vp3DecodeContext *s, int slice)
stride
,
block
);
}
else
{
int
index
=
vp3_dequant
(
s
,
s
->
all_fragments
+
i
,
plane
,
1
,
block
);
if
(
index
>
63
)
continue
;
if
(
index
>
0
)
{
if
(
vp3_dequant
(
s
,
s
->
all_fragments
+
i
,
plane
,
1
,
block
))
{
s
->
dsp
.
idct_add
(
output_plane
+
first_pixel
,
stride
,
...
...
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