fix segfaults on some HEVC/h265 files

Origin commit data
------------------
Branch: master
Commit: b6260c143e
Author: TangoCash <eric@loxat.de>
Date: 2019-08-25 (Sun, 25 Aug 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2019-08-25 22:17:54 +02:00
committed by vanhofen
parent ccadb3181f
commit 0ecc2fbd57
3 changed files with 6 additions and 4 deletions

View File

@@ -86,7 +86,7 @@ static int32_t PreparCodecData(unsigned char *data, unsigned int cd_len, unsigne
int32_t ret = -100;
if (data)
{
unsigned char tmp[2048];
unsigned char tmp[4096];
unsigned int tmp_len = 0;
h265_printf(10, "H265 have codec data..!");