Add switch default to prevent compiler warning
This commit is contained in:
parent
6575bbb7a0
commit
938eefbc6c
@ -205,21 +205,21 @@ int VC1StreamReader::intDecodeNAL(uint8_t* buff)
|
||||
case VC1Code::USER_FRAME:
|
||||
rez = decodeFrame(nextNal);
|
||||
if (rez == 0)
|
||||
{
|
||||
m_lastDecodedPos = nextNal;
|
||||
}
|
||||
m_decodedAfterSeq = true;
|
||||
return rez;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
nextNal = VC1Unit::findNextMarker(nextNal, m_bufEnd) + 3;
|
||||
}
|
||||
// m_lastIFrame = true;
|
||||
break;
|
||||
case VC1Code::FRAME:
|
||||
case VC1Code::USER_FRAME:
|
||||
m_decodedAfterSeq = false;
|
||||
rez = decodeFrame(buff);
|
||||
return rez;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user