diff options
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/flashsvenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flashsvenc.c b/libavcodec/flashsvenc.c index acbc134..f56a995 100644 --- a/libavcodec/flashsvenc.c +++ b/libavcodec/flashsvenc.c @@ -271,7 +271,7 @@ static int flashsv_encode_frame(AVCodecContext *avctx, AVPacket *pkt, avctx->coded_frame->key_frame = 0; } - if (avctx->coded_frame->key_frame) + if (I_frame) pkt->flags |= AV_PKT_FLAG_KEY; *got_packet = 1; |