From d4f1188d1a662fed5347e70016da49e01563e8a8 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 29 Nov 2013 08:58:10 +0100 Subject: dv: use AVFrame API properly --- libavcodec/dv.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libavcodec/dv.c') diff --git a/libavcodec/dv.c b/libavcodec/dv.c index 9d57940398..a6f614a425 100644 --- a/libavcodec/dv.c +++ b/libavcodec/dv.c @@ -313,8 +313,6 @@ av_cold int ff_dvvideo_init(AVCodecContext *avctx) s->idct_put[1] = ff_simple_idct248_put; // FIXME: need to add it to DSP memcpy(s->dv_zigzag[1], ff_zigzag248_direct, 64); - avcodec_get_frame_defaults(&s->picture); - avctx->coded_frame = &s->picture; s->avctx = avctx; avctx->chroma_sample_location = AVCHROMA_LOC_TOPLEFT; -- cgit v1.2.3