equal
deleted
inserted
replaced
3477 if (iNumberOfVideoOutputBuffers > 0) |
3477 if (iNumberOfVideoOutputBuffers > 0) |
3478 { |
3478 { |
3479 iOutputVideoBuffer = iVideoOutputBufferInputQue.First(); |
3479 iOutputVideoBuffer = iVideoOutputBufferInputQue.First(); |
3480 |
3480 |
3481 // Remove the picture from the list |
3481 // Remove the picture from the list |
3482 iOutputVideoBuffer->iLink.Deque(); |
3482 if ( iOutputVideoBuffer != NULL ) |
3483 iNumberOfVideoOutputBuffers--; |
3483 { |
|
3484 iOutputVideoBuffer->iLink.Deque(); |
|
3485 iNumberOfVideoOutputBuffers--; |
|
3486 } |
3484 // leave restricted area |
3487 // leave restricted area |
3485 iMutexObj.Signal(); |
3488 iMutexObj.Signal(); |
3486 } |
3489 } |
3487 else |
3490 else |
3488 { |
3491 { |