mirror of
https://github.com/mpv-player/mpv
synced 2025-01-11 17:39:38 +00:00
make sure the indx chunk is big enough to hold the basic structure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18053 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9641a1433c
commit
37b31c74a8
@ -207,6 +207,9 @@ while(1){
|
||||
case mmioFOURCC('i', 'n', 'd', 'x'): {
|
||||
uint32_t i;
|
||||
avisuperindex_chunk *s;
|
||||
if(chunksize<=24){
|
||||
break;
|
||||
}
|
||||
priv->suidx_size++;
|
||||
priv->suidx = realloc(priv->suidx, priv->suidx_size * sizeof (avisuperindex_chunk));
|
||||
s = &priv->suidx[priv->suidx_size-1];
|
||||
|
Loading…
Reference in New Issue
Block a user