view loader/stubs.s @ 18917:d9a75b26da6c

Add a new video pts tracking mode, enabled by option -correct-pts. This mode has the following differences: - Video timing is correct for streams with B frames, at least with some demuxers. - Video filters can modify frame timestamps and insert new frames, and removing frames is handled better than before. - Some things are known to break, it's not usable as the default yet. Things should work as before when the -correct-pts option is not used.
author uau
date Thu, 06 Jul 2006 06:58:17 +0000
parents ebc1cd8014a5
children
line wrap: on
line source

	.data
.LC0:	.string	"Called unk_%s\n"
       .balign 4
.globl unk_exp1
unk_exp1:
	pushl %ebp
	movl %esp,%ebp
	subl $4,%esp
	movl $1,-4(%ebp)
	movl -4(%ebp),%eax
	movl %eax,%ecx
	movl %ecx,%edx
	sall $4,%edx
	subl %eax,%edx
	leal 0(,%edx,2),%eax
	movl %eax,%edx
	addl $export_names,%edx
	pushl %edx
	pushl $.LC0
	call printf
	addl $8,%esp
	xorl %eax,%eax
	leave
	ret
.globl exp_EH_prolog
exp_EH_prolog:
	pushl $0xff
	pushl %eax
	pushl %fs:0
	movl  %esp, %fs:0
	movl  12(%esp), %eax
	movl  %ebp, 12(%esp)
	leal  12(%esp), %ebp
	pushl %eax
	ret