Don't depend on the generic code setting this. This is in preparation for a following change.
Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -542,6 +542,8 @@ static int ffat_decode(AVCodecContext *avctx, AVFrame *frame, · 541 unmodified lines | |||
| 542 | 542 | ||
| 543 | frame->nb_samples = avctx->frame_size; | 543 | frame->nb_samples = avctx->frame_size; |
| 544 | 544 | ||
| 545 | frame->flags |= AV_FRAME_FLAG_KEY; | ||
| 546 | |||
| 545 | out_buffers.mBuffers[0].mData = at->decoded_data; | 547 | out_buffers.mBuffers[0].mData = at->decoded_data; |
| 546 | 548 | ||
| 547 | ret = AudioConverterFillComplexBuffer(at->converter, ffat_decode_callback, avctx, | 549 | ret = AudioConverterFillComplexBuffer(at->converter, ffat_decode_callback, avctx, |