Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
10e1ae5e
Commit
10e1ae5e
authored
Jan 22, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: remove disabled FF_API_TIFFENC_COMPLEVEL cruft.
parent
370e923e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
19 deletions
+0
-19
tiffenc.c
libavcodec/tiffenc.c
+0
-16
version.h
libavcodec/version.h
+0
-3
No files found.
libavcodec/tiffenc.c
View file @
10e1ae5e
...
...
@@ -231,22 +231,6 @@ static int encode_frame(AVCodecContext * avctx, unsigned char *buf,
p
->
key_frame
=
1
;
avctx
->
coded_frame
=
&
s
->
picture
;
#if FF_API_TIFFENC_COMPLEVEL
if
(
avctx
->
compression_level
!=
FF_COMPRESSION_DEFAULT
)
av_log
(
avctx
,
AV_LOG_WARNING
,
"Using compression_level to set compression "
"algorithm is deprecated. Please use the compression_algo private "
"option instead.
\n
"
);
if
(
avctx
->
compression_level
==
0
)
{
s
->
compr
=
TIFF_RAW
;
}
else
if
(
avctx
->
compression_level
==
2
)
{
s
->
compr
=
TIFF_LZW
;
#if CONFIG_ZLIB
}
else
if
((
avctx
->
compression_level
>=
3
))
{
s
->
compr
=
TIFF_DEFLATE
;
#endif
}
#endif
s
->
width
=
avctx
->
width
;
s
->
height
=
avctx
->
height
;
s
->
subsampling
[
0
]
=
1
;
...
...
libavcodec/version.h
View file @
10e1ae5e
...
...
@@ -41,9 +41,6 @@
#ifndef FF_API_REQUEST_CHANNELS
#define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 55)
#endif
#ifndef FF_API_TIFFENC_COMPLEVEL
#define FF_API_TIFFENC_COMPLEVEL (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_DATA_POINTERS
#define FF_API_DATA_POINTERS (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
...
...
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