Changeset 1033 in SHVCSoftware for branches/SHM-dev/source


Ignore:
Timestamp:
27 Feb 2015, 01:34:24 (10 years ago)
Author:
seregin
Message:

fix for the ticket #65, patch was provided by Hiron, Franck <franck.hiron@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp

    r1029 r1033  
    15511551      if( this->getDecodedYuvLayerRefresh(layerIdx) )
    15521552      {
    1553         if (!m_outputBitDepth[CHANNEL_TYPE_LUMA]) { m_outputBitDepth[CHANNEL_TYPE_LUMA] = g_bitDepth[CHANNEL_TYPE_LUMA]; }
    1554         if (!m_outputBitDepth[CHANNEL_TYPE_CHROMA]) { m_outputBitDepth[CHANNEL_TYPE_CHROMA] = g_bitDepth[CHANNEL_TYPE_CHROMA]; }
     1553        m_outputBitDepth[CHANNEL_TYPE_LUMA]   = g_bitDepth[CHANNEL_TYPE_LUMA]   = g_bitDepthLayer[CHANNEL_TYPE_LUMA][layerIdx];
     1554        m_outputBitDepth[CHANNEL_TYPE_CHROMA] = g_bitDepth[CHANNEL_TYPE_CHROMA] = g_bitDepthLayer[CHANNEL_TYPE_CHROMA][layerIdx];
    15551555
    15561556        char tempFileName[256];
Note: See TracChangeset for help on using the changeset viewer.