Showing the changes to codec/decoder/plus/src/welsDecoderExt.cpp (1 of 8 files). Show all
Unified · Split
| @@ -304,7 +304,7 @@ long CWelsDecoder::GetOption (DECODER_OPTION eOptID, void* pOption) { · 303 unmodified lines | |||
| 304 | return cmInitParaError; | 304 | return cmInitParaError; |
| 305 | 305 | ||
| 306 | if (DECODER_OPTION_DATAFORMAT == eOptID) { | 306 | if (DECODER_OPTION_DATAFORMAT == eOptID) { |
| 307 | iVal = m_pDecContext->iOutputColorFormat; | 307 | iVal = (int32_t) m_pDecContext->eOutputColorFormat; |
| 308 | * ((int*)pOption) = iVal; | 308 | * ((int*)pOption) = iVal; |
| 309 | return cmResultSuccess; | 309 | return cmResultSuccess; |
| 310 | } else if (DECODER_OPTION_END_OF_STREAM == eOptID) { | 310 | } else if (DECODER_OPTION_END_OF_STREAM == eOptID) { |