1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

o Fix: the reorder_block() zigzag behaves incorrectly in the

(!ARCH_X86 && !ARCH_X86_64)

case. The current code fails to take into account the effects of
_dv_prepare_reorder_tables(), which changes the indexes contained
in the reorder_88[] and reorder_248[] arrays.

o Bump PORTREVISION

PR:		94188
Submitted by:	Brent Casavant <bcasavan@sgi.com>
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2006-12-15 01:28:36 +00:00
parent 24689a65f8
commit 86030e115b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179807
2 changed files with 13 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= libdv
PORTVERSION= 0.104
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View File

@ -0,0 +1,12 @@
--- libdv/encode.c.orig Thu Dec 14 23:24:41 2006
+++ libdv/encode.c Thu Dec 14 23:25:20 2006
@@ -513,8 +513,7 @@
emms();
#else
for (i = 0; i < 64; i++) {
- // *(unsigned short*) ((char*) zigzag + reorder[i])=bl->coeffs[i];
- zigzag[reorder[i] - 1] = bl->coeffs[i];
+ *(unsigned short*) ((char*) zigzag + reorder[i])=bl->coeffs[i];
}
memcpy(bl->coeffs, zigzag, 64 * sizeof(dv_coeff_t));
#endif