From ddf70db6d71fdab15bf8626aea4301b85891c2bd Mon Sep 17 00:00:00 2001
From: Justin Ruggles <justin.ruggles@gmail.com>
Date: Mon, 30 Jan 2012 12:57:34 -0500
Subject: [PATCH] adpcmenc: Do not set coded_frame->key_frame.

It is already set in avcodec_alloc_frame().
---
 libavcodec/adpcmenc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/adpcmenc.c b/libavcodec/adpcmenc.c
index 9697f829d28..9cf1e391490 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:
-- 
GitLab