summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/libfaac.c1
-rw-r--r--libavcodec/libgsm.c1
-rw-r--r--libavcodec/libvorbis.c1
-rw-r--r--libavcodec/mpegaudioenc.c1
-rw-r--r--libavcodec/pcm.c1
-rw-r--r--libavcodec/roqaudioenc.c1
6 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/libfaac.c b/libavcodec/libfaac.c
index 7ee1f3c3fa..997aa834a4 100644
--- a/libavcodec/libfaac.c
+++ b/libavcodec/libfaac.c
@@ -90,7 +90,6 @@ static av_cold int Faac_encode_init(AVCodecContext *avctx)
avctx->frame_size = samples_input / avctx->channels;
avctx->coded_frame= avcodec_alloc_frame();
- avctx->coded_frame->key_frame= 1;
/* Set decoder specific info */
avctx->extradata_size = 0;
diff --git a/libavcodec/libgsm.c b/libavcodec/libgsm.c
index 1fa04cf9d9..b917cc374d 100644
--- a/libavcodec/libgsm.c
+++ b/libavcodec/libgsm.c
@@ -70,7 +70,6 @@ static av_cold int libgsm_encode_init(AVCodecContext *avctx) {
}
avctx->coded_frame= avcodec_alloc_frame();
- avctx->coded_frame->key_frame= 1;
return 0;
}
diff --git a/libavcodec/libvorbis.c b/libavcodec/libvorbis.c
index 4d58fdc34e..b60b1f0670 100644
--- a/libavcodec/libvorbis.c
+++ b/libavcodec/libvorbis.c
@@ -156,7 +156,6 @@ static av_cold int oggvorbis_encode_init(AVCodecContext *avccontext)
avccontext->frame_size = OGGVORBIS_FRAME_SIZE;
avccontext->coded_frame = avcodec_alloc_frame();
- avccontext->coded_frame->key_frame = 1;
return 0;
}
diff --git a/libavcodec/mpegaudioenc.c b/libavcodec/mpegaudioenc.c
index 71ea39373e..d2b1e70900 100644
--- a/libavcodec/mpegaudioenc.c
+++ b/libavcodec/mpegaudioenc.c
@@ -181,7 +181,6 @@ static av_cold int MPA_encode_init(AVCodecContext *avctx)
}
avctx->coded_frame= avcodec_alloc_frame();
- avctx->coded_frame->key_frame= 1;
return 0;
}
diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c
index 594bd444fe..2e0b5ec4b0 100644
--- a/libavcodec/pcm.c
+++ b/libavcodec/pcm.c
@@ -49,7 +49,6 @@ static av_cold int pcm_encode_init(AVCodecContext *avctx)
avctx->bits_per_coded_sample = av_get_bits_per_sample(avctx->codec->id);
avctx->block_align = avctx->channels * avctx->bits_per_coded_sample/8;
avctx->coded_frame= avcodec_alloc_frame();
- avctx->coded_frame->key_frame= 1;
return 0;
}
diff --git a/libavcodec/roqaudioenc.c b/libavcodec/roqaudioenc.c
index e540e14c24..e2d0f3896e 100644
--- a/libavcodec/roqaudioenc.c
+++ b/libavcodec/roqaudioenc.c
@@ -59,7 +59,6 @@ static av_cold int roq_dpcm_encode_init(AVCodecContext *avctx)
context->lastSample[0] = context->lastSample[1] = 0;
avctx->coded_frame= avcodec_alloc_frame();
- avctx->coded_frame->key_frame= 1;
return 0;
}