Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
6dca24cd
Commit
6dca24cd
authored
8 years ago
by
Vittorio Giovara
Browse files
Options
Downloads
Patches
Plain Diff
lavc: Drop deprecated way of setting codec dimensions
Deprecated in 10/2013.
parent
1146bb3b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
libavcodec/avcodec.h
+0
-8
0 additions, 8 deletions
libavcodec/avcodec.h
libavcodec/utils.c
+0
-7
0 additions, 7 deletions
libavcodec/utils.c
libavcodec/version.h
+0
-3
0 additions, 3 deletions
libavcodec/version.h
with
0 additions
and
18 deletions
libavcodec/avcodec.h
+
0
−
8
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.
*
...
...
This diff is collapsed.
Click to expand it.
libavcodec/utils.c
+
0
−
7
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
);
...
...
This diff is collapsed.
Click to expand it.
libavcodec/version.h
+
0
−
3
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment