This fixes warnings with gcc.
Showing the changes to codec/decoder/plus/src/welsDecoderExt.cpp (1 of 1 file). Show all
Unified · Split
| @@ -463,8 +463,8 @@ DECODING_STATE CWelsDecoder::DecodeFrame2 (const unsigned char* kpSrc, · 462 unmodified lines | |||
| 463 | m_pDecContext->sDecoderStatistics.uiEcFrameNum) + 100; | 463 | m_pDecContext->sDecoderStatistics.uiEcFrameNum) + 100; |
| 464 | 464 | ||
| 465 | // | 465 | // |
| 466 | if ((m_pDecContext->sDecoderStatistics.uiWidth != pDstInfo->UsrData.sSystemBuffer.iWidth) | 466 | if ((m_pDecContext->sDecoderStatistics.uiWidth != (unsigned int) pDstInfo->UsrData.sSystemBuffer.iWidth) |
| 467 | || (m_pDecContext->sDecoderStatistics.uiHeight != pDstInfo->UsrData.sSystemBuffer.iHeight)) { | 467 | || (m_pDecContext->sDecoderStatistics.uiHeight != (unsigned int) pDstInfo->UsrData.sSystemBuffer.iHeight)) { |
| 468 | m_pDecContext->sDecoderStatistics.uiResolutionChangeTimes++; | 468 | m_pDecContext->sDecoderStatistics.uiResolutionChangeTimes++; |
| 469 | m_pDecContext->sDecoderStatistics.uiWidth = pDstInfo->UsrData.sSystemBuffer.iWidth; | 469 | m_pDecContext->sDecoderStatistics.uiWidth = pDstInfo->UsrData.sSystemBuffer.iWidth; |
| 470 | m_pDecContext->sDecoderStatistics.uiHeight = pDstInfo->UsrData.sSystemBuffer.iHeight; | 470 | m_pDecContext->sDecoderStatistics.uiHeight = pDstInfo->UsrData.sSystemBuffer.iHeight; |
| @@ -483,8 +483,8 @@ DECODING_STATE CWelsDecoder::DecodeFrame2 (const unsigned char* kpSrc, · 12 unmodified lines | |||
| 483 | 483 | ||
| 484 | if (pDstInfo->iBufferStatus == 1) { | 484 | if (pDstInfo->iBufferStatus == 1) { |
| 485 | 485 | ||
| 486 | if ((m_pDecContext->sDecoderStatistics.uiWidth != pDstInfo->UsrData.sSystemBuffer.iWidth) | 486 | if ((m_pDecContext->sDecoderStatistics.uiWidth != (unsigned int) pDstInfo->UsrData.sSystemBuffer.iWidth) |
| 487 | || (m_pDecContext->sDecoderStatistics.uiHeight != pDstInfo->UsrData.sSystemBuffer.iHeight)) { | 487 | || (m_pDecContext->sDecoderStatistics.uiHeight != (unsigned int) pDstInfo->UsrData.sSystemBuffer.iHeight)) { |
| 488 | m_pDecContext->sDecoderStatistics.uiResolutionChangeTimes++; | 488 | m_pDecContext->sDecoderStatistics.uiResolutionChangeTimes++; |
| 489 | m_pDecContext->sDecoderStatistics.uiWidth = pDstInfo->UsrData.sSystemBuffer.iWidth; | 489 | m_pDecContext->sDecoderStatistics.uiWidth = pDstInfo->UsrData.sSystemBuffer.iWidth; |
| 490 | m_pDecContext->sDecoderStatistics.uiHeight = pDstInfo->UsrData.sSystemBuffer.iHeight; | 490 | m_pDecContext->sDecoderStatistics.uiHeight = pDstInfo->UsrData.sSystemBuffer.iHeight; |