Don't depend on the generic code setting this. This is in preparation for a following change.
Unified · Split
| @@ -1177,6 +1177,8 @@ static int aac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, · 1176 unmodified lines | |||
| 1177 | ff_af_queue_remove(&s->afq, avctx->frame_size, &avpkt->pts, | 1177 | ff_af_queue_remove(&s->afq, avctx->frame_size, &avpkt->pts, |
| 1178 | &avpkt->duration); | 1178 | &avpkt->duration); |
| 1179 | 1179 | ||
| 1180 | avpkt->flags |= AV_PKT_FLAG_KEY; | ||
| 1181 | |||
| 1180 | *got_packet_ptr = 1; | 1182 | *got_packet_ptr = 1; |
| 1181 | return 0; | 1183 | return 0; |
| 1182 | } | 1184 | } |