Commit 439c9760 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '91f9b657'

* commit '91f9b657':
  flashsvenc: Keep coded_frame.key_frame a write-only variable
Merged-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parents 5cc3faf6 91f9b657
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment