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