[FFmpeg-cvslog] adpcmenc: Do not set coded_frame->key_frame.

Justin Ruggles git at videolan.org
Wed Feb 1 03:06:30 CET 2012


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Mon Jan 30 12:57:34 2012 -0500| [ddf70db6d71fdab15bf8626aea4301b85891c2bd] | committer: Justin Ruggles

adpcmenc: Do not set coded_frame->key_frame.

It is already set in avcodec_alloc_frame().

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ddf70db6d71fdab15bf8626aea4301b85891c2bd
---

 libavcodec/adpcmenc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

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



More information about the ffmpeg-cvslog mailing list