fix segfaults on some HEVC/h265 files

This commit is contained in:
TangoCash
2019-08-25 22:17:54 +02:00
committed by Thilo Graf
parent 4024d92c22
commit f88e4e9451
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..!");