diff --git a/libavcodec/adpcmenc.c b/libavcodec/adpcmenc.c
index 9697f829d28632a01786ef917fdc44a65f6f3669..9cf1e3914907e82a0319c29040b7643e55102260 100644
--- a/libavcodec/adpcmenc.c
+++ b/libavcodec/adpcmenc.c
@@ -136,7 +136,6 @@ static av_cold int adpcm_encode_init(AVCodecContext *avctx)
     }
 
     avctx->coded_frame = avcodec_alloc_frame();
-    avctx->coded_frame->key_frame= 1;
 
     return 0;
 error: