Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 16 files). Show all
Unified · Split
| @@ -483,7 +483,7 @@ int CWelsH264SVCEncoder::EncodeFrameInternal (const SSourcePicture* pSrcPic, SF · 482 unmodified lines | ||
| 483 | 483 | |
| 484 | 484 | iCurLayerBits = 0; |
| 485 | 485 | for (j = 0; j < pLayer->iNalCount; j++) { |
| 486 | − iCurLayerBits += pLayer->iNalLengthInByte[j]; | |
| 486 | + iCurLayerBits += pLayer->pNalLengthInByte[j]; | |
| 487 | 487 | } |
| 488 | 488 | total_bits += iCurLayerBits; |
| 489 | 489 | if (m_pFileBs != NULL) |