Audio sync fix

Libmixer: SSPlayer draft
Detection fixed
Macros for function substitute registration
This commit is contained in:
Nekotekina 2014-04-02 00:04:56 +04:00
parent 7c79631609
commit d2ca1cc25a
5 changed files with 338 additions and 130 deletions

View file

@ -267,7 +267,7 @@ u32 adecOpen(AudioDecoder* data)
if (adec.just_started)
{
adec.first_pts = task.au.pts;
adec.last_pts = task.au.pts /*- 3816*8*/; // hack
adec.last_pts = task.au.pts - 0x10000; // hack
}
struct AVPacketHolder : AVPacket