home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Products
MPTagThat
MPTagThat - The Mediaportal Tag Editor
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="hwahrmann" data-source="post: 1240834" data-attributes="member: 10391"><p>[USER=119106]@henso[/USER]: Yes you are right, in case of box_size=1 i need 16 bytes in the box.</p><p>Currently the code only checks for 8 bytes.</p><p></p><p>In your test file, this doesn't have any negative consequence.</p><p>I am just wondering, if we ever would face a problem.</p><p>It only might occur if this box is the very last one in the file and there are just 8 bytes in the box, i.e. only the header.</p><p></p><p>If there is another box following, we would always have more than 16 bytes, since we always read 32 bytes.</p><p>The calculation of the box would be wrong, since we would include the length field of the following box, but we would never get a CorrupFileException</p></blockquote><p></p>
[QUOTE="hwahrmann, post: 1240834, member: 10391"] [USER=119106]@henso[/USER]: Yes you are right, in case of box_size=1 i need 16 bytes in the box. Currently the code only checks for 8 bytes. In your test file, this doesn't have any negative consequence. I am just wondering, if we ever would face a problem. It only might occur if this box is the very last one in the file and there are just 8 bytes in the box, i.e. only the header. If there is another box following, we would always have more than 16 bytes, since we always read 32 bytes. The calculation of the box would be wrong, since we would include the length field of the following box, but we would never get a CorrupFileException [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
MPTagThat
MPTagThat - The Mediaportal Tag Editor
Contact us
RSS
Top
Bottom