diff options
Diffstat (limited to 'libavcodec/ffv1.c')
-rw-r--r-- | libavcodec/ffv1.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c index a31f2786ee..9e7ba2ef19 100644 --- a/libavcodec/ffv1.c +++ b/libavcodec/ffv1.c @@ -141,8 +141,6 @@ av_cold int ffv1_common_init(AVCodecContext *avctx) if (!avctx->width || !avctx->height) return AVERROR_INVALIDDATA; - avcodec_get_frame_defaults(&s->picture); - ff_dsputil_init(&s->dsp, avctx); s->width = avctx->width; @@ -271,8 +269,6 @@ av_cold int ffv1_close(AVCodecContext *avctx) FFV1Context *s = avctx->priv_data; int i, j; - av_frame_unref(&s->last_picture); - for (j = 0; j < s->slice_count; j++) { FFV1Context *fs = s->slice_context[j]; for (i = 0; i < s->plane_count; i++) { |