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
98dfdfdd
Commit
98dfdfdd
authored
Jan 10, 2012
by
Paul B Mahol
Committed by
Stefano Sabatini
Jan 11, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tiffdec: notify user that tile support is missing
Signed-off-by:
Stefano Sabatini
<
stefasab@gmail.com
>
parent
c3ff0713
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
tiff.c
libavcodec/tiff.c
+7
-0
tiff.h
libavcodec/tiff.h
+4
-0
No files found.
libavcodec/tiff.c
View file @
98dfdfdd
...
...
@@ -485,6 +485,13 @@ static int tiff_decode_tag(TiffContext *s, const uint8_t *start, const uint8_t *
return
-
1
;
}
break
;
case
TIFF_TILE_BYTE_COUNTS
:
case
TIFF_TILE_LENGTH
:
case
TIFF_TILE_OFFSETS
:
case
TIFF_TILE_WIDTH
:
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"Tiled images are not supported
\n
"
);
return
AVERROR_PATCHWELCOME
;
break
;
case
TIFF_PREDICTOR
:
s
->
predictor
=
value
;
break
;
...
...
libavcodec/tiff.h
View file @
98dfdfdd
...
...
@@ -56,6 +56,10 @@ enum TiffTags{
TIFF_SOFTWARE_NAME
=
0x131
,
TIFF_PREDICTOR
=
0x13D
,
TIFF_PAL
=
0x140
,
TIFF_TILE_WIDTH
=
0x142
,
TIFF_TILE_LENGTH
=
0x143
,
TIFF_TILE_OFFSETS
=
0x144
,
TIFF_TILE_BYTE_COUNTS
=
0x145
,
TIFF_YCBCR_COEFFICIENTS
=
0x211
,
TIFF_YCBCR_SUBSAMPLING
=
0x212
,
TIFF_YCBCR_POSITIONING
=
0x213
,
...
...
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