diff options
author | James Almer <jamrial@gmail.com> | 2014-09-19 01:44:42 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2014-09-19 14:32:38 -0300 |
commit | 6edd6a4f002d8ca51f1f60be3c26afced1ba9420 (patch) | |
tree | 5114de1e8a88ccfc15954c8f211e16f4162a2883 /libavcodec/dv_profile.c | |
parent | 5ccd08d26ddafe6e6f6374f6c5fa59c18727d219 (diff) | |
download | ffmpeg-6edd6a4f002d8ca51f1f60be3c26afced1ba9420.tar.gz |
avcodec/dv_profile: deprecate internal function that shouldn't be public
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/dv_profile.c')
-rw-r--r-- | libavcodec/dv_profile.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/libavcodec/dv_profile.c b/libavcodec/dv_profile.c index 084f3047bc..b301cbfb8b 100644 --- a/libavcodec/dv_profile.c +++ b/libavcodec/dv_profile.c @@ -257,7 +257,7 @@ void ff_dv_print_profiles(void *logctx, int loglevel) #endif /* CONFIG_DVPROFILE */ -const AVDVProfile* avpriv_dv_frame_profile2(AVCodecContext* codec, const AVDVProfile *sys, +const AVDVProfile* ff_dv_frame_profile(AVCodecContext* codec, const AVDVProfile *sys, const uint8_t *frame, unsigned buf_size) { #if CONFIG_DVPROFILE @@ -297,10 +297,18 @@ const AVDVProfile* avpriv_dv_frame_profile2(AVCodecContext* codec, const AVDVPro 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) { - return avpriv_dv_frame_profile2(NULL, sys, frame, buf_size); + return ff_dv_frame_profile(NULL, sys, frame, buf_size); } const AVDVProfile *av_dv_codec_profile(int width, int height, |