fix aac extradata
This commit is contained in:
parent
f3b8c820c3
commit
44e3e7f14c
1 changed files with 1 additions and 0 deletions
|
|
@ -156,6 +156,7 @@ static av_cold int libaac_encode_init(AVCodecContext *avctx)
|
|||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
||||
avctx->extradata_size = s->encoder->ascSize;
|
||||
memcpy(avctx->extradata, s->encoder->asc, s->encoder->ascSize);
|
||||
}
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue