mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:21:11 +01:00
lavc/mediacodecdec_h2645: fix nalu data_size type
This commit is contained in:
parent
eb60256c20
commit
68822da8ff
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ static int h264_set_extradata(AVCodecContext *avctx, FFAMediaFormat *format)
|
|||
|
||||
if (pps && sps) {
|
||||
uint8_t *data = NULL;
|
||||
size_t data_size = 0;
|
||||
int data_size = 0;
|
||||
|
||||
if ((ret = h2645_ps_to_nalu(sps->data, sps->data_size, &data, &data_size)) < 0) {
|
||||
goto done;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue