mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00:00
avcodec: remove FF_API_DV_FRAME_PROFILE cruft
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
3433228795
commit
251fb7dcd4
@ -297,14 +297,6 @@ const AVDVProfile* ff_dv_frame_profile(AVCodecContext* codec, const AVDVProfile
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#if FF_API_DV_FRAME_PROFILE
|
||||
const AVDVProfile* avpriv_dv_frame_profile2(AVCodecContext* codec, const AVDVProfile *sys,
|
||||
const uint8_t *frame, unsigned buf_size)
|
||||
{
|
||||
return ff_dv_frame_profile(codec, sys, frame, buf_size);
|
||||
}
|
||||
#endif
|
||||
|
||||
const AVDVProfile *av_dv_frame_profile(const AVDVProfile *sys,
|
||||
const uint8_t *frame, unsigned buf_size)
|
||||
{
|
||||
|
@ -58,15 +58,6 @@ typedef struct AVDVProfile {
|
||||
const uint8_t (*audio_shuffle)[9]; /* PCM shuffling table */
|
||||
} AVDVProfile;
|
||||
|
||||
#if FF_API_DV_FRAME_PROFILE
|
||||
/**
|
||||
* @deprecated use av_dv_frame_profile()
|
||||
*/
|
||||
attribute_deprecated
|
||||
const AVDVProfile* avpriv_dv_frame_profile2(AVCodecContext* codec, const AVDVProfile *sys,
|
||||
const uint8_t* frame, unsigned buf_size);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Get a DV profile for the provided compressed frame.
|
||||
*
|
||||
|
@ -161,9 +161,6 @@
|
||||
/* XXX: don't forget to drop the -vismv documentation */
|
||||
#define FF_API_VISMV (LIBAVCODEC_VERSION_MAJOR < 57)
|
||||
#endif
|
||||
#ifndef FF_API_DV_FRAME_PROFILE
|
||||
#define FF_API_DV_FRAME_PROFILE (LIBAVCODEC_VERSION_MAJOR < 57)
|
||||
#endif
|
||||
#ifndef FF_API_AUDIOENC_DELAY
|
||||
#define FF_API_AUDIOENC_DELAY (LIBAVCODEC_VERSION_MAJOR < 58)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user