diff options
author | Matthieu Bouron <matthieu.bouron@stupeflix.com> | 2016-09-30 18:32:11 +0200 |
---|---|---|
committer | Matthieu Bouron <matthieu.bouron@stupeflix.com> | 2016-10-03 14:16:53 +0200 |
commit | 68822da8ff7dd33480c0bfdb2e769bcbe445b018 (patch) | |
tree | 4b0215dbca30cbd534780470d12c6afb9ead330e | |
parent | eb60256c20837cc8a6d868d08055dd2821ed35fd (diff) | |
download | ffmpeg-68822da8ff7dd33480c0bfdb2e769bcbe445b018.tar.gz |
lavc/mediacodecdec_h2645: fix nalu data_size type
-rw-r--r-- | libavcodec/mediacodecdec_h2645.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mediacodecdec_h2645.c b/libavcodec/mediacodecdec_h2645.c index 08227b0263..d5a35a1fd2 100644 --- a/libavcodec/mediacodecdec_h2645.c +++ b/libavcodec/mediacodecdec_h2645.c @@ -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; |