Browse Source

4xm: remove avcodec_get_frame_defaults() calls

They are not needed anymore

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.2
Michael Niedermayer 12 years ago
parent
commit
cfc7b9cfff
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavcodec/4xm.c

+ 0
- 2
libavcodec/4xm.c View File

@@ -949,8 +949,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
return AVERROR_INVALIDDATA;
}

avcodec_get_frame_defaults(&f->current_picture);
avcodec_get_frame_defaults(&f->last_picture);
f->version = AV_RL32(avctx->extradata) >> 16;
ff_dsputil_init(&f->dsp, avctx);
f->avctx = avctx;


Loading…
Cancel
Save