Changeset 1061

Show
Ignore:
Timestamp:
05/30/09 20:29:12 (8 months ago)
Author:
astrange
Message:

Don't call releaseBuffer if buf->frame is NULL.

Masks (probably doesn't properly fix) [gg]_Eden_of_the_East_-_08_[BEFAB99D].mkv
whose first frame is corrupt.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/FFusionCodec.c

    r1056 r1061  
    13811381        glob->stats.type[drp->frameType].end_calls++; 
    13821382        FFusionBuffer *buf = myDrp->buffer; 
    1383         if(buf
     1383        if(buf && buf->frame
    13841384                releaseBuffer(glob->avContext, buf); 
    13851385