avcodec/audiotoolboxdec: set set keyframe flag in output frames

Don't depend on the generic code setting this.
This is in preparation for a following change.

Signed-off-by: James Almer <jamrial@gmail.com>
pull/391/head
James Almer 3 months ago
parent ffdace5ad4
commit d3dd14bf5b
  1. 2
      libavcodec/audiotoolboxdec.c

@ -542,6 +542,8 @@ static int ffat_decode(AVCodecContext *avctx, AVFrame *frame,
frame->nb_samples = avctx->frame_size;
frame->flags |= AV_FRAME_FLAG_KEY;
out_buffers.mBuffers[0].mData = at->decoded_data;
ret = AudioConverterFillComplexBuffer(at->converter, ffat_decode_callback, avctx,

Loading…
Cancel
Save