Hi Vladimir,

Vladimir Eremeev wrote:
[...]
>>> But why does negative value appear?
>> Because you are printing the timestamp as a signed value ;-)
>>
> 
> Yes, that's right. 
> However, I thought, that sign bit is 63th.

Sorry, but I do not get your point:
> 8589927402(10) = 111111111111111111110001111101010(2)
> The timestamps have a difference of 3600, so if I append 3600, I will get
> 8589931002 ( 111111111111111111111000111111010)
Which, printed as a signed integer is -3590

> 8589934602 (1000000000000000000000000000001010)
Which, printed as a signed integer (on 33 bits) is 10

So, everything seems fine...


                                Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to