summaryrefslogtreecommitdiffstats
path: root/libavcodec/dvdec.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-09-19 01:44:42 -0300
committerJames Almer <jamrial@gmail.com>2014-09-19 14:32:38 -0300
commit6edd6a4f002d8ca51f1f60be3c26afced1ba9420 (patch)
tree5114de1e8a88ccfc15954c8f211e16f4162a2883 /libavcodec/dvdec.c
parent5ccd08d26ddafe6e6f6374f6c5fa59c18727d219 (diff)
downloadffmpeg-streaming-6edd6a4f002d8ca51f1f60be3c26afced1ba9420.zip
ffmpeg-streaming-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/dvdec.c')
-rw-r--r--libavcodec/dvdec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/dvdec.c b/libavcodec/dvdec.c
index 7de7e5b..5751135 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 */
OpenPOWER on IntegriCloud