Mercurial > mplayer.hg
annotate loader/stubs.s @ 15533:ddf15d233d58
Do not switch to audio tracks whose codec private data differs from the main audio track's as this will most likely result in messed up audio output. Patch by Michael Behrisch <list () behrisch ! de>
author | mosu |
---|---|
date | Sat, 21 May 2005 06:50:08 +0000 |
parents | ebc1cd8014a5 |
children |
rev | line source |
---|---|
1038
b36fb1ae4b53
applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents:
713
diff
changeset
|
1 .data |
b36fb1ae4b53
applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents:
713
diff
changeset
|
2 .LC0: .string "Called unk_%s\n" |
7107
ebc1cd8014a5
align -> balign patch by (Bj¸«Órn Sandell <biorn at dce dot chalmers dot se>)
michael
parents:
5741
diff
changeset
|
3 .balign 4 |
1 | 4 .globl unk_exp1 |
5 unk_exp1: | |
6 pushl %ebp | |
7 movl %esp,%ebp | |
8 subl $4,%esp | |
9 movl $1,-4(%ebp) | |
10 movl -4(%ebp),%eax | |
11 movl %eax,%ecx | |
12 movl %ecx,%edx | |
13 sall $4,%edx | |
14 subl %eax,%edx | |
15 leal 0(,%edx,2),%eax | |
16 movl %eax,%edx | |
17 addl $export_names,%edx | |
18 pushl %edx | |
19 pushl $.LC0 | |
20 call printf | |
21 addl $8,%esp | |
22 xorl %eax,%eax | |
23 leave | |
24 ret | |
5741 | 25 .globl exp_EH_prolog |
26 exp_EH_prolog: | |
27 pushl $0xff | |
28 pushl %eax | |
29 pushl %fs:0 | |
30 movl %esp, %fs:0 | |
31 movl 12(%esp), %eax | |
32 movl %ebp, 12(%esp) | |
33 leal 12(%esp), %ebp | |
34 pushl %eax | |
35 ret |