mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 05:50:43 +00:00
lavc/mediacodecdec_h2645: fix nalu data_size type
This commit is contained in:
parent
eb60256c20
commit
68822da8ff
@ -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…
Reference in New Issue
Block a user