Commit 68822da8 authored by Matthieu Bouron's avatar Matthieu Bouron

lavc/mediacodecdec_h2645: fix nalu data_size type

parent eb60256c
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment