1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

lavc/mediacodecdec_h2645: fix nalu data_size type

This commit is contained in:
Matthieu Bouron 2016-09-30 18:32:11 +02:00
parent eb60256c20
commit 68822da8ff

View File

@ -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;