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
84170d4b
Commit
84170d4b
authored
Aug 17, 2015
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/mjpegdec: Detect more CMYK images.
Fixes ticket #4772.
parent
3afca325
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
mjpegdec.c
libavcodec/mjpegdec.c
+6
-0
No files found.
libavcodec/mjpegdec.c
View file @
84170d4b
...
...
@@ -345,6 +345,12 @@ int ff_mjpeg_decode_sof(MJpegDecodeContext *s)
i
,
h_count
[
i
],
v_count
[
i
],
s
->
component_id
[
i
],
s
->
quant_index
[
i
]);
}
if
(
nb_components
==
4
&&
s
->
component_id
[
0
]
==
'C'
-
1
&&
s
->
component_id
[
1
]
==
'M'
-
1
&&
s
->
component_id
[
2
]
==
'Y'
-
1
&&
s
->
component_id
[
3
]
==
'K'
-
1
)
s
->
adobe_transform
=
0
;
if
(
s
->
ls
&&
(
s
->
h_max
>
1
||
s
->
v_max
>
1
))
{
avpriv_report_missing_feature
(
s
->
avctx
,
"Subsampling in JPEG-LS"
);
...
...
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