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
6dca24cd
Commit
6dca24cd
authored
Dec 05, 2016
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: Drop deprecated way of setting codec dimensions
Deprecated in 10/2013.
parent
1146bb3b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
18 deletions
+0
-18
avcodec.h
libavcodec/avcodec.h
+0
-8
utils.c
libavcodec/utils.c
+0
-7
version.h
libavcodec/version.h
+0
-3
No files found.
libavcodec/avcodec.h
View file @
6dca24cd
...
...
@@ -4937,14 +4937,6 @@ enum AVPixelFormat avcodec_default_get_format(struct AVCodecContext *s, const en
* @}
*/
#if FF_API_SET_DIMENSIONS
/**
* @deprecated this function is not supposed to be used from outside of lavc
*/
attribute_deprecated
void
avcodec_set_dimensions
(
AVCodecContext
*
s
,
int
width
,
int
height
);
#endif
/**
* Put a string representing the codec tag codec_tag in buf.
*
...
...
libavcodec/utils.c
View file @
6dca24cd
...
...
@@ -125,13 +125,6 @@ unsigned avcodec_get_edge_width(void)
}
#endif
#if FF_API_SET_DIMENSIONS
void
avcodec_set_dimensions
(
AVCodecContext
*
s
,
int
width
,
int
height
)
{
ff_set_dimensions
(
s
,
width
,
height
);
}
#endif
int
ff_set_dimensions
(
AVCodecContext
*
s
,
int
width
,
int
height
)
{
int
ret
=
av_image_check_size
(
width
,
height
,
0
,
s
);
...
...
libavcodec/version.h
View file @
6dca24cd
...
...
@@ -47,9 +47,6 @@
* the public API and may change, break or disappear at any time.
*/
#ifndef FF_API_SET_DIMENSIONS
#define FF_API_SET_DIMENSIONS (LIBAVCODEC_VERSION_MAJOR < 58)
#endif
#ifndef FF_API_DEBUG_MV
#define FF_API_DEBUG_MV (LIBAVCODEC_VERSION_MAJOR < 58)
#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