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
a36f19e9
Commit
a36f19e9
authored
Jul 21, 2012
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libopenjpegdec: set cp_reduce value only once
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
881e0de6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
libopenjpegdec.c
libavcodec/libopenjpegdec.c
+0
-1
No files found.
libavcodec/libopenjpegdec.c
View file @
a36f19e9
...
...
@@ -258,7 +258,6 @@ static int libopenjpeg_decode_frame(AVCodecContext *avctx,
}
opj_set_event_mgr
((
opj_common_ptr
)
dec
,
NULL
,
NULL
);
ctx
->
dec_params
.
cp_limit_decoding
=
LIMIT_TO_MAIN_HEADER
;
ctx
->
dec_params
.
cp_reduce
=
avctx
->
lowres
;
ctx
->
dec_params
.
cp_layer
=
ctx
->
lowqual
;
// Tie decoder with decoding parameters
opj_setup_decoder
(
dec
,
&
ctx
->
dec_params
);
...
...
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