Showing the changes to codec/decoder/plus/src/welsDecoderExt.cpp (1 of 120 files). Show all
Unified · Split
| @@ -325,8 +325,8 @@ DECODING_STATE CWelsDecoder::DecodeFrame2 (const unsigned char* kpSrc, · 324 unmodified lines | |||
| 325 | if (kiSrcLen > MAX_ACCESS_UNIT_CAPACITY - MAX_MACROBLOCK_CAPACITY) {//prevent from residual reading overflow | 325 | if (kiSrcLen > MAX_ACCESS_UNIT_CAPACITY - MAX_MACROBLOCK_CAPACITY) {//prevent from residual reading overflow |
| 326 | m_pDecContext->iErrorCode |= dsOutOfMemory; | 326 | m_pDecContext->iErrorCode |= dsOutOfMemory; |
| 327 | IWelsTrace::WelsVTrace (m_pTrace, IWelsTrace::WELS_LOG_INFO, | 327 | IWelsTrace::WelsVTrace (m_pTrace, IWelsTrace::WELS_LOG_INFO, |
| 328 | "max AU size exceeded. Allowed size = %d, current size = %d", | 328 | "max AU size exceeded. Allowed size = %d, current size = %d", |
| 329 | MAX_ACCESS_UNIT_CAPACITY, kiSrcLen); | 329 | MAX_ACCESS_UNIT_CAPACITY, kiSrcLen); |
| 330 | return dsOutOfMemory; | 330 | return dsOutOfMemory; |
| 331 | } | 331 | } |
| 332 | if (kiSrcLen > 0 && kpSrc != NULL) { | 332 | if (kiSrcLen > 0 && kpSrc != NULL) { |