Browse Source

adxenc: remove unnecessary setting of coded_frame->key_frame.

It is already set by avcodec_alloc_frame().
tags/n0.10
Justin Ruggles 14 years ago
parent
commit
6b77f07074
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavcodec/adxenc.c

+ 0
- 1
libavcodec/adxenc.c View File

@@ -108,7 +108,6 @@ static av_cold int adx_encode_init(AVCodecContext *avctx)
avctx->frame_size = 32;

avctx->coded_frame = avcodec_alloc_frame();
avctx->coded_frame->key_frame = 1;

/* the cutoff can be adjusted, but this seems to work pretty well */
c->cutoff = 500;


Loading…
Cancel
Save