Changeset 1244

Show
Ignore:
Timestamp:
01/09/10 11:18:23 (8 months ago)
Author:
gbooker
Message:

Better handle parse errors for frame data which is completely broken.
Fixes #466

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/FFusionCodec.c

    r1223 r1244  
    918918        if(glob->begin.parser != NULL) 
    919919        { 
    920                 int parsedBufSize; 
     920                int parsedBufSize = 0; 
    921921                uint8_t *buffer = (uint8_t *)drp->codecData; 
    922922                int bufferSize = p->bufferSize; 
    923                 int skipped; 
     923                int skipped = 0; 
    924924                 
    925925                if(glob->data.unparsedFrames.dataSize != 0)