mirror of https://git.ffmpeg.org/ffmpeg.git
avformat: remove obsolete FF_API_SET_PTS_INFO cruft
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
a578b93c73
commit
3bd9f17b8a
|
@ -2175,15 +2175,6 @@ void avformat_close_input(AVFormatContext **s);
|
||||||
* @}
|
* @}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if FF_API_SET_PTS_INFO
|
|
||||||
/**
|
|
||||||
* @deprecated this function is not supposed to be called outside of lavf
|
|
||||||
*/
|
|
||||||
attribute_deprecated
|
|
||||||
void av_set_pts_info(AVStream *s, int pts_wrap_bits,
|
|
||||||
unsigned int pts_num, unsigned int pts_den);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define AVSEEK_FLAG_BACKWARD 1 ///< seek backward
|
#define AVSEEK_FLAG_BACKWARD 1 ///< seek backward
|
||||||
#define AVSEEK_FLAG_BYTE 2 ///< seeking based on position in bytes
|
#define AVSEEK_FLAG_BYTE 2 ///< seeking based on position in bytes
|
||||||
#define AVSEEK_FLAG_ANY 4 ///< seek to any frame, even non-keyframes
|
#define AVSEEK_FLAG_ANY 4 ///< seek to any frame, even non-keyframes
|
||||||
|
|
|
@ -3906,14 +3906,6 @@ int ff_hex_to_data(uint8_t *data, const char *p)
|
||||||
return len;
|
return len;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if FF_API_SET_PTS_INFO
|
|
||||||
void av_set_pts_info(AVStream *s, int pts_wrap_bits,
|
|
||||||
unsigned int pts_num, unsigned int pts_den)
|
|
||||||
{
|
|
||||||
avpriv_set_pts_info(s, pts_wrap_bits, pts_num, pts_den);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void avpriv_set_pts_info(AVStream *s, int pts_wrap_bits,
|
void avpriv_set_pts_info(AVStream *s, int pts_wrap_bits,
|
||||||
unsigned int pts_num, unsigned int pts_den)
|
unsigned int pts_num, unsigned int pts_den)
|
||||||
{
|
{
|
||||||
|
|
|
@ -61,9 +61,6 @@
|
||||||
#define FF_API_URL_FEOF (LIBAVFORMAT_VERSION_MAJOR < 57)
|
#define FF_API_URL_FEOF (LIBAVFORMAT_VERSION_MAJOR < 57)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef FF_API_SET_PTS_INFO
|
|
||||||
#define FF_API_SET_PTS_INFO (LIBAVFORMAT_VERSION_MAJOR < 56)
|
|
||||||
#endif
|
|
||||||
#ifndef FF_API_CLOSE_INPUT_FILE
|
#ifndef FF_API_CLOSE_INPUT_FILE
|
||||||
#define FF_API_CLOSE_INPUT_FILE (LIBAVFORMAT_VERSION_MAJOR < 56)
|
#define FF_API_CLOSE_INPUT_FILE (LIBAVFORMAT_VERSION_MAJOR < 56)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue