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
16107aea
Commit
16107aea
authored
Jun 04, 2016
by
Martin Vignali
Committed by
Paul B Mahol
Jun 06, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/exr: remove unneed scanline_size var
parent
42297d84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
exr.c
libavcodec/exr.c
+0
-3
No files found.
libavcodec/exr.c
View file @
16107aea
...
@@ -122,7 +122,6 @@ typedef struct EXRContext {
...
@@ -122,7 +122,6 @@ typedef struct EXRContext {
uint32_t
ymax
,
ymin
;
uint32_t
ymax
,
ymin
;
uint32_t
xdelta
,
ydelta
;
uint32_t
xdelta
,
ydelta
;
uint64_t
scan_line_size
;
int
scan_lines_per_block
;
int
scan_lines_per_block
;
EXRTileAttribute
tile_attr
;
/* header data attribute of tile */
EXRTileAttribute
tile_attr
;
/* header data attribute of tile */
...
@@ -1524,8 +1523,6 @@ static int decode_header(EXRContext *s)
...
@@ -1524,8 +1523,6 @@ static int decode_header(EXRContext *s)
}
}
}
}
s
->
scan_line_size
=
s
->
xdelta
*
s
->
current_channel_offset
;
if
(
bytestream2_get_bytes_left
(
&
s
->
gb
)
<=
0
)
{
if
(
bytestream2_get_bytes_left
(
&
s
->
gb
)
<=
0
)
{
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"Incomplete frame.
\n
"
);
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"Incomplete frame.
\n
"
);
return
AVERROR_INVALIDDATA
;
return
AVERROR_INVALIDDATA
;
...
...
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