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
8c7bc7d3
Commit
8c7bc7d3
authored
Oct 09, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/exr: use avpriv_report_missing_feature()
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
19fda0a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
exr.c
libavcodec/exr.c
+4
-4
No files found.
libavcodec/exr.c
View file @
8c7bc7d3
...
...
@@ -501,13 +501,13 @@ static int decode_frame(AVCodecContext *avctx,
version
=
bytestream_get_byte
(
&
buf
);
if
(
version
!=
2
)
{
av
_log
(
avctx
,
AV_LOG_ERROR
,
"Unsupported version %d
\n
"
,
version
);
av
priv_report_missing_feature
(
avctx
,
"Version %d
"
,
version
);
return
AVERROR_PATCHWELCOME
;
}
flags
=
bytestream_get_le24
(
&
buf
);
if
(
flags
&
0x2
)
{
av
_log
(
avctx
,
AV_LOG_ERROR
,
"Tile based images are not supported
\n
"
);
av
priv_report_missing_feature
(
avctx
,
"Tile support
"
);
return
AVERROR_PATCHWELCOME
;
}
...
...
@@ -556,7 +556,7 @@ static int decode_frame(AVCodecContext *avctx,
xsub
=
bytestream_get_le32
(
&
buf
);
ysub
=
bytestream_get_le32
(
&
buf
);
if
(
xsub
!=
1
||
ysub
!=
1
)
{
av
_log
(
avctx
,
AV_LOG_ERROR
,
"Unsupported subsampling %dx%d
\n
"
,
xsub
,
ysub
);
av
priv_report_missing_feature
(
avctx
,
"Subsampling %dx%d
"
,
xsub
,
ysub
);
return
AVERROR_PATCHWELCOME
;
}
...
...
@@ -715,7 +715,7 @@ static int decode_frame(AVCodecContext *avctx,
s
->
scan_lines_per_block
=
16
;
break
;
default:
av
_log
(
avctx
,
AV_LOG_ERROR
,
"Compression type %d is not supported
\n
"
,
s
->
compr
);
av
priv_report_missing_feature
(
avctx
,
"Compression %d
"
,
s
->
compr
);
return
AVERROR_PATCHWELCOME
;
}
...
...
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