diff options
author | James Almer <jamrial@gmail.com> | 2014-09-19 08:44:42 +0400 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2014-09-19 21:32:38 +0400 |
commit | 6edd6a4f002d8ca51f1f60be3c26afced1ba9420 (patch) | |
tree | 5114de1e8a88ccfc15954c8f211e16f4162a2883 /libavcodec/dvdec.c | |
parent | 5ccd08d26ddafe6e6f6374f6c5fa59c18727d219 (diff) |
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/dvdec.c')
-rw-r--r-- | libavcodec/dvdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/dvdec.c b/libavcodec/dvdec.c index 7de7e5b4ce..5751135409 100644 --- a/libavcodec/dvdec.c +++ b/libavcodec/dvdec.c @@ -42,6 +42,7 @@ #include "avcodec.h" #include "dv.h" +#include "dv_profile_internal.h" #include "dvdata.h" #include "get_bits.h" #include "idctdsp.h" @@ -362,7 +363,7 @@ static int dvvideo_decode_frame(AVCodecContext *avctx, void *data, int apt, is16_9, ret; const AVDVProfile *sys; - sys = avpriv_dv_frame_profile2(avctx, s->sys, buf, buf_size); + sys = ff_dv_frame_profile(avctx, s->sys, buf, buf_size); if (!sys || buf_size < sys->frame_size) { av_log(avctx, AV_LOG_ERROR, "could not find dv frame profile\n"); return -1; /* NOTE: we only accept several full frames */ |