diff options
author | 2005-02-04 19:00:40 +0000 | |
---|---|---|
committer | 2005-02-04 19:00:40 +0000 | |
commit | 3f69e846bc67de38082f07ed1ebbced1277bca97 (patch) | |
tree | fe1278d215419b8ed055da8fd1446dfddb0bc7db /media-video/dvdauthor/files | |
parent | new version with several bug fixes that should solve some amd64 issues. Close... (diff) | |
download | gentoo-2-3f69e846bc67de38082f07ed1ebbced1277bca97.tar.gz gentoo-2-3f69e846bc67de38082f07ed1ebbced1277bca97.tar.bz2 gentoo-2-3f69e846bc67de38082f07ed1ebbced1277bca97.zip |
added a patch contributed by Danny van Dyk <kugelfang@gentoo.org>. please see #62836
(Portage version: 2.0.51-r15)
Diffstat (limited to 'media-video/dvdauthor/files')
-rw-r--r-- | media-video/dvdauthor/files/dvdauthor-0.6.10-debugsegfault.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/media-video/dvdauthor/files/dvdauthor-0.6.10-debugsegfault.patch b/media-video/dvdauthor/files/dvdauthor-0.6.10-debugsegfault.patch new file mode 100644 index 000000000000..55f68492ee31 --- /dev/null +++ b/media-video/dvdauthor/files/dvdauthor-0.6.10-debugsegfault.patch @@ -0,0 +1,36 @@ +--- src/subgen.c.old 2004-09-04 19:12:19.609738456 +0200 ++++ src/subgen.c 2004-09-04 19:15:16.979774112 +0200 +@@ -393,24 +393,23 @@ + if( !newsti ) + { + fprintf(stderr, "INFO: Found EOF in .sub file.\n"); ++ fprintf(stderr, "spts: %d sd: %d\n",\ ++ cursti->spts / 90000, cursti->sd / 90000); + } +- +- if(newsti) /* not last sub */ ++ else /* not last sub */ + { + if(cursti->spts + cursti->sd + tbs > newsti->spts) + { +- if (debug > 4) +- fprintf(stderr, "WARN: Overlapping sub\n"); + cursti->sd = -1; ++ if (debug > 4) ++ { ++ fprintf(stderr, "WARN: Overlapping sub\n"); ++ fprintf(stderr, "spts: %d sd: %d nspts: %d\n",\ ++ cursti->spts / 90000, cursti->sd / 90000, newsti->spts / 90000); ++ } + } + } /* end if ! last sub */ + +- if(debug > 4) +- { +- fprintf(stderr, "spts: %d sd: %d nspts: %d\n",\ +- cursti->spts / 90000, cursti->sd / 90000, newsti->spts / 90000); +- } +- + if( (cursti->sd == -1) && newsti && ( (!svcd) || until_next_sub) ) + { + if(newsti->spts > cursti->spts + tbs) cursti->sd = newsti->spts - cursti->spts - tbs; |