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
1ac5a29b
Commit
1ac5a29b
authored
Oct 13, 2014
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imc: fix order of operations in coefficients read
Reported-by:
Ruoyu
<
liangry@ucweb.com
>
parent
e5cfc8fd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
imc.c
libavcodec/imc.c
+4
-4
No files found.
libavcodec/imc.c
View file @
1ac5a29b
...
...
@@ -873,14 +873,14 @@ static int imc_decode_block(AVCodecContext *avctx, IMCContext *q, int ch)
flag
=
get_bits1
(
&
q
->
gb
);
if
(
stream_format_code
&
0x1
)
imc_decode_level_coefficients_raw
(
q
,
chctx
->
levlCoeffBuf
,
chctx
->
flcoeffs1
,
chctx
->
flcoeffs2
);
else
if
(
stream_format_code
&
0x1
)
imc_read_level_coeffs_raw
(
q
,
stream_format_code
,
chctx
->
levlCoeffBuf
);
else
imc_read_level_coeffs
(
q
,
stream_format_code
,
chctx
->
levlCoeffBuf
);
if
(
stream_format_code
&
0x4
)
if
(
stream_format_code
&
0x1
)
imc_decode_level_coefficients_raw
(
q
,
chctx
->
levlCoeffBuf
,
chctx
->
flcoeffs1
,
chctx
->
flcoeffs2
);
else
if
(
stream_format_code
&
0x4
)
imc_decode_level_coefficients
(
q
,
chctx
->
levlCoeffBuf
,
chctx
->
flcoeffs1
,
chctx
->
flcoeffs2
);
else
...
...
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