diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-11-29 08:58:10 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-12-09 09:10:14 +0100 |
commit | d4f1188d1a662fed5347e70016da49e01563e8a8 (patch) | |
tree | e0baaa7669f49da3d4469d6a256494285910a645 /libavcodec/dv.c | |
parent | c9ca220ef26e36abd22085e6fa156c0dbc43bbf0 (diff) | |
download | ffmpeg-d4f1188d1a662fed5347e70016da49e01563e8a8.tar.gz |
dv: use AVFrame API properly
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r-- | libavcodec/dv.c | 2 |
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; |