Menu

#347 [MP4Client] stops with repeated chunks in timeline

v1.0 (example)
closed-fixed
None
3
2015-04-27
2015-01-15
No

If you create a timeline with this kind of syntax.

<S t="38045221250" d="28800000" r="245"/>

(you repeat a chunk duration for quite a long time, or with a long duration).
It stops after ~150chunks, which seems to converge to an int32 overflow in this case.

The time computation for chunk 150 is: 28800000150 , the result is greater than 2*32

There is probably an overflow, this computation shall be done with 64bits integers.

Discussion

  • Pierre ROBIN

    Pierre ROBIN - 2015-01-15

    The time computation for chunk 150 is: 28800000x150 , the result is greater than 2pow(32)

     
  • Jean Le Feuvre

    Jean Le Feuvre - 2015-04-27

    This should now be fixed on git thanks for the report

     
  • Jean Le Feuvre

    Jean Le Feuvre - 2015-04-27
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,3 @@
    -
     If you create a timeline with this kind of syntax. 
    
     <S t="38045221250" d="28800000" r="245" />
    
    • status: open --> closed-fixed
     

Log in to post a comment.