FreeBSD Bugzilla – Attachment 63100 Details for
Bug 94188
multimedia/libdv reorder_block() incorrect on non-x86
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 692 bytes, created by
Brent Casavant
on 2006-03-07 21:00:15 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Brent Casavant
Created:
2006-03-07 21:00:15 UTC
Size:
692 bytes
patch
obsolete
>diff -ru libdv-0.104-orig/libdv/encode.c libdv-0.104-fixed/libdv/encode.c >--- libdv-0.104-orig/libdv/encode.c 2004-11-16 21:36:30.000000000 -0600 >+++ libdv-0.104-fixed/libdv/encode.c 2006-03-07 14:07:22.000000000 -0600 >@@ -512,10 +512,9 @@ > _dv_reorder_block_mmx_x86_64(bl->coeffs, reorder); > emms(); > #else >- for (i = 0; i < 64; i++) { >- // *(unsigned short*) ((char*) zigzag + >reorder[i])=bl->coeffs[i]; >- zigzag[reorder[i] - 1] = bl->coeffs[i]; >- } >+ for (i = 0; i < 64; i++) >+ *(unsigned short*) ((char*) zigzag + reorder[i])=bl->coeffs[i]; >+ > memcpy(bl->coeffs, zigzag, 64 * sizeof(dv_coeff_t)); > #endif > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 94188
: 63100