rbouqueau / gpac

GPAC mirror from the SourceForge Subversion
GNU Lesser General Public License v2.1
0 stars 1 forks source link

[Bug] Incorrect group description index in 'sbgp' box [sf#300] #300

Closed rbouqueau closed 10 years ago

rbouqueau commented 10 years ago

Reported by greg80303 on 2014-01-31 16:32 UTC According to the ISO BMFF spec, Section 8.9.4, the group description indexes in the 'sbgp' boxes must start at 0x10001. The attached patch does not change the internal use of indexes, instead it simply makes sure that the box is read and written poperly.

rbouqueau commented 10 years ago

Commented by jeanlf on 2014-01-31 16:42 UTC No, sample to group indexes are 1-based when refering to sample groups defined in sample table, and 0x10001 based when refering to sample group defined in traf ! I'll patch the support for this asap

rbouqueau commented 10 years ago

Updated by jeanlf on 2014-01-31 16:45 UTC