aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dv.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-11-29 08:58:10 +0100
committerAnton Khirnov <anton@khirnov.net>2013-12-09 09:10:14 +0100
commitd4f1188d1a662fed5347e70016da49e01563e8a8 (patch)
treee0baaa7669f49da3d4469d6a256494285910a645 /libavcodec/dv.c
parentc9ca220ef26e36abd22085e6fa156c0dbc43bbf0 (diff)
downloadffmpeg-d4f1188d1a662fed5347e70016da49e01563e8a8.tar.gz
dv: use AVFrame API properly
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r--libavcodec/dv.c2
1 files changed, 0 insertions, 2 deletions
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;