Skip to content
Snippets Groups Projects
Commit a4a813a7 authored by Nael Ouedraogo's avatar Nael Ouedraogo
Browse files

Fix #1177: Fix computation of APS Id in checkAuApsContent()

parent 5ac8a32c
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,7 @@ public:
void checkAuApsContent( APS *aps, std::vector<int>& accessUnitApsNals )
{
int apsId = aps->getAPSId() + MAX_NUM_APS * aps->getAPSType();
int apsId = ( aps->getAPSId() << NUM_APS_TYPE_LEN ) + aps->getAPSType();
if( std::find( accessUnitApsNals.begin(), accessUnitApsNals.end(), apsId ) != accessUnitApsNals.end() )
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment