Package: dvdauthor Version: 0.6.11-2.1 Severity: important dvdauthor dumps core on some mpegs. The problem is that a signed -1 is tested as unsigned. Here is a patch in diff -u form (against the latest alpha sources, dvdauthor-0.6.12-alpha-2992), which fixes the bug:
--- da-internal.h~ 2005-03-04 18:50:50.000000000 -0500 +++ da-internal.h 2005-12-28 20:02:26.000000000 -0500 @@ -189,7 +189,7 @@ pts_t getptsspan(const struct pgc *ch); pts_t getframepts(const struct vobgroup *va); unsigned int buildtimeeven(const struct vobgroup *va,int64_t num); -unsigned int getaudch(const struct vobgroup *va,int a); +int getaudch(const struct vobgroup *va,int a); int findcellvobu(const struct vob *va,int cellid); pts_t getcellpts(const struct vob *va,int cellid); int vobgroup_set_video_attr(struct vobgroup *va,int attr,char *s); --- dvdauthor.c~ 2005-03-04 19:12:03.000000000 -0500 +++ dvdauthor.c 2005-12-28 20:02:44.000000000 -0500 @@ -151,7 +151,7 @@ return buildtimehelper(va,num,ratedenom[rc]); } -unsigned int getaudch(const struct vobgroup *va,int a) +int getaudch(const struct vobgroup *va,int a) { if( !va->ad[a].aid ) return -1; -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12hdk7 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages dvdauthor depends on: ii libbz2-1.0 1.0.2-11 high-quality block-sorting file co ii libc6 2.3.5-8 GNU C Library: Shared libraries an ii libdps1 6.8.2.dfsg.1-11 Display PostScript (DPS) client li ii libdvdread3 0.9.4-5.1 Simple foundation for reading DVDs ii libfreetype6 2.1.7-2.4 FreeType 2 font engine, shared lib ii libice6 6.8.2.dfsg.1-11 Inter-Client Exchange library ii libjasper-1.701-1 1.701.0-2 The JasPer JPEG-2000 runtime libra ii libjpeg62 6b-10 The Independent JPEG Group's JPEG ii liblcms1 1.13-1 Color management library ii libmagick9 6:6.2.4.5-0.2 Image manipulation library ii libpng12-0 1.2.8rel-5 PNG library - runtime ii libsm6 6.8.2.dfsg.1-11 X Window System Session Management ii libtiff4 3.7.4-1 Tag Image File Format (TIFF) libra ii libx11-6 6.8.2.dfsg.1-11 X Window System protocol client li ii libxext6 6.8.2.dfsg.1-11 X Window System miscellaneous exte ii libxml2 2.6.22-2 GNOME XML library ii libxt6 6.8.2.dfsg.1-11 X Toolkit Intrinsics ii xlibs 6.8.2.dfsg.1-11 X Window System client libraries m ii zlib1g 1:1.2.3-8 compression library - runtime dvdauthor recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]