Skip to content
Snippets Groups Projects
Commit 60c62ab6 authored by Frank Bossen's avatar Frank Bossen
Browse files

Merge branch 'fix_1177' into 'master'

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

See merge request !1785
parents 29c2d547 a4a813a7
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