Closed
Bug 517654
Opened 15 years ago
Closed 15 years ago
liboggplay cpuid checks broken for Windows AMD64
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
status1.9.2 | --- | beta1-fixed |
status1.9.1 | --- | .4-fixed |
People
(Reporter: dvander, Unassigned)
References
Details
Attachments
(1 file)
1.46 KB,
patch
|
cajbir
:
review+
|
Details | Diff | Splinter Review |
Microsoft's x64 compiler does not support inline assembly, we must use the __cpuid intrinsic instead. Additionally x64 CPUs will always have CPUID, so there's no need to perform a runtime check.
Attachment #401604 -
Flags: review?(chris.double)
Reporter | ||
Updated•15 years ago
|
Hardware: x86 → x86_64
Comment 1•15 years ago
|
||
cpu.c was cribbed from libtheora, so upstream might want these fixes too. We're we're not hitting this case at build time in libtheora because we build without USE_ASM of x86-64.
Comment 2•15 years ago
|
||
The patch needs to be updated to include a .patch file that can be used to re-apply it when we update to new versions of libtheora, a line added to update.sh to apply the patch and a description added to README_MOZILLA referring to this bug. See how other patches have been done in the various /media subdirectories for examples.
Updated•15 years ago
|
Attachment #401604 -
Flags: review?(chris.double) → review+
Comment 3•15 years ago
|
||
Comment on attachment 401604 [details] [diff] [review] proposed fix r+ with changes mentioned in comment 2
Comment 4•15 years ago
|
||
This bug is already merged on upstream. http://git.xiph.org/?p=liboggplay.git;a=commitdiff;h=b908ed69267c001310cc234628fb4c7dc41ced76
Comment 5•15 years ago
|
||
Was this fixed by bug 512328? I updated liboggplay yesterday.
Updated•15 years ago
|
Depends on: CVE-2009-3378
Comment 6•15 years ago
|
||
(In reply to comment #5) > Was this fixed by bug 512328? I updated liboggplay yesterday. Yes. About cpu.c issue, this is fixed. But I found other problem. (I found simple typo bug of x64 issue in yuv2rgb_x86_vs.h). About it, I will file a bug to xiph.org.
Comment 7•15 years ago
|
||
Fixed on trunk and 1.9.2 by bug 512328 checkin.
Comment 8•15 years ago
|
||
Fixed on trunk and 1.9.1 by bug 512328 checkin.
status1.9.1:
--- → .4-fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•