|
From: SourceForge.net <no...@so...> - 2006-09-20 14:46:20
|
Patches item #1562254, was opened at 2006-09-20 14:46 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=304393&aid=1562254&group_id=4393 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: anosek (anosek) Assigned to: Nobody/Anonymous (nobody) Summary: libdv-0.104: undefined C code and uninitialized variable Initial Comment: Wrote by David Binderman: I just tried to compile package libdv-0.104-4 with a prerelease of the GNU C compiler version 4.1. It said 1. encode.c:1811: warning: operation on "i" may be undefined The source code is for (i = 0; i < (DV_WIDTH * (dv_enc->isPAL ? DV_PAL_HEIGHT : DV_NTSC_HEIGHT)); dv_enc->img_y[i] = CLAMP(dv_enc->img_y[i++], -224, 214) ); I agree with the compiler - this code seems to be undefined. There is also use of uninitialized variable "w". ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=304393&aid=1562254&group_id=4393 |