adxenc: remove unnecessary setting of coded_frame->key_frame.

It is already set by avcodec_alloc_frame().
pull/3/head
Justin Ruggles 13 years ago
parent cc40c056d0
commit 6b77f07074
  1. 1
      libavcodec/adxenc.c

@ -108,7 +108,6 @@ static av_cold int adx_encode_init(AVCodecContext *avctx)
avctx->frame_size = 32; avctx->frame_size = 32;
avctx->coded_frame = avcodec_alloc_frame(); avctx->coded_frame = avcodec_alloc_frame();
avctx->coded_frame->key_frame = 1;
/* the cutoff can be adjusted, but this seems to work pretty well */ /* the cutoff can be adjusted, but this seems to work pretty well */
c->cutoff = 500; c->cutoff = 500;

Loading…
Cancel
Save