mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-19 22:01:00 +00:00
lavc: Drop deprecated way of setting codec dimensions
Deprecated in 10/2013.
This commit is contained in:
parent
1146bb3bab
commit
6dca24cd1d
@ -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.
|
||||
*
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user