summaryrefslogtreecommitdiff
path: root/libavcodec/dv.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-09-02 05:21:25 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-09-02 05:21:25 +0200
commit63d2cfd14250f2a0293cf130f37561b7f2ccf885 (patch)
tree7e9c49a6e3c6a96fcb1699b8fecd6050edd7df53 /libavcodec/dv.c
parentfea20d1ddc7bd5b059cae0a4a3c49c804eb4d7cb (diff)
dvdec: Fix dvsd profile[1] detection.
Fixes Ticket159 If someone knows of a cleaner way to detect this, patch is welcome. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r--libavcodec/dv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index c616a60d87..c3cdf9ea98 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -1072,7 +1072,7 @@ static int dvvideo_decode_frame(AVCodecContext *avctx,
const uint8_t* vsc_pack;
int apt, is16_9;
- s->sys = ff_dv_frame_profile(s->sys, buf, buf_size);
+ s->sys = ff_dv_frame_profile2(avctx, s->sys, buf, buf_size);
if (!s->sys || buf_size < s->sys->frame_size || dv_init_dynamic_tables(s->sys)) {
av_log(avctx, AV_LOG_ERROR, "could not find dv frame profile\n");
return -1; /* NOTE: we only accept several full frames */