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
adbe1d7d
Commit
adbe1d7d
authored
Jun 09, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/libopenjpegdec: Mark as experimental if <= 1.3
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
dbbb31e5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
libopenjpegdec.c
libavcodec/libopenjpegdec.c
+10
-0
No files found.
libavcodec/libopenjpegdec.c
View file @
adbe1d7d
...
...
@@ -433,6 +433,15 @@ done:
return
ret
;
}
static
av_cold
void
libopenjpeg_static_init
(
AVCodec
*
codec
)
{
const
char
*
version
=
opj_version
();
int
major
,
minor
;
if
(
sscanf
(
version
,
"%d.%d"
,
&
major
,
&
minor
)
==
2
&&
1000
*
major
+
minor
<=
1003
)
codec
->
capabilities
|=
CODEC_CAP_EXPERIMENTAL
;
}
#define OFFSET(x) offsetof(LibOpenJPEGContext, x)
#define VD AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM
...
...
@@ -460,4 +469,5 @@ AVCodec ff_libopenjpeg_decoder = {
.
capabilities
=
CODEC_CAP_DR1
|
CODEC_CAP_FRAME_THREADS
,
.
max_lowres
=
31
,
.
priv_class
=
&
openjpeg_class
,
.
init_static_data
=
libopenjpeg_static_init
,
};
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