mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-08-09 15:24:47 +00:00
lavc/mediacodecdec_h2645: fix nalu data_size type
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user