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
01f76a77
Commit
01f76a77
authored
Jul 19, 2012
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
exr: merge common code
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
a2dab751
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
12 deletions
+3
-12
exr.c
libavcodec/exr.c
+3
-12
No files found.
libavcodec/exr.c
View file @
01f76a77
...
...
@@ -404,18 +404,6 @@ static int decode_frame(AVCodecContext *avctx,
return
AVERROR_INVALIDDATA
;
s
->
compr
=
*
buf
;
switch
(
s
->
compr
)
{
case
EXR_RAW
:
case
EXR_RLE
:
case
EXR_ZIP1
:
case
EXR_ZIP16
:
break
;
case
EXR_PIZ
:
case
EXR_B44
:
default:
av_log
(
avctx
,
AV_LOG_ERROR
,
"Compression type %d is not supported
\n
"
,
s
->
compr
);
return
AVERROR_PATCHWELCOME
;
}
buf
+=
variable_buffer_data_size
;
continue
;
...
...
@@ -483,6 +471,9 @@ static int decode_frame(AVCodecContext *avctx,
case
EXR_ZIP16
:
scan_lines_per_block
=
16
;
break
;
default:
av_log
(
avctx
,
AV_LOG_ERROR
,
"Compression type %d is not supported
\n
"
,
s
->
compr
);
return
AVERROR_PATCHWELCOME
;
}
if
(
s
->
picture
.
data
[
0
])
...
...
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