Unified · Split
| @@ -44,7 +44,6 @@ static av_cold int encode_init(AVCodecContext *avctx) · 43 unmodified lines | |||
| 44 | if (!avctx->coded_frame) | 44 | if (!avctx->coded_frame) |
| 45 | return AVERROR(ENOMEM); | 45 | return AVERROR(ENOMEM); |
| 46 | 46 | ||
| 47 | avctx->coded_frame->key_frame = 1; | ||
| 48 | avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I; | 47 | avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I; |
| 49 | 48 | ||
| 50 | return 0; | 49 | return 0; |