|
From: <no...@so...> - 2001-05-08 18:55:35
|
Patches item #422417, was updated on 2001-05-08 11:55 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=304393&aid=422417&group_id=4393 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Artur Zaprzala (zybi) Assigned to: Nobody/Anonymous (nobody) Summary: Workaround for gcc error on RedHat 7.1 Initial Comment: After installing RedHat 7.1 and recompiling libdv suddenly my dv videos started to be a little jerky. What I discovered was that array dv_weight_inverse_248_matrix was incorrectly initialized in libdv/weighting.c. Finally it turned out to be gcc bug - invalid assembly code was produced that referenced uninitialized variable. Changing optimization switch from -O2 to -O1 corrects this problem. The other solution is to modify a little expression "1.0 / (W[x] * W[2*z] / 2);" where the problem arises. Here is the patch attached. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=304393&aid=422417&group_id=4393 |