Module: libav
Branch: master
Commit: ddf70db6d71fdab15bf8626aea4301b85891c2bd

Author:    Justin Ruggles <[email protected]>
Committer: Justin Ruggles <[email protected]>
Date:      Mon Jan 30 12:57:34 2012 -0500

adpcmenc: Do not set coded_frame->key_frame.

It is already set in avcodec_alloc_frame().

---

 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:

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to