summaryrefslogtreecommitdiff
path: root/graphics/mpeg2codec/files/patch-ab
diff options
context:
space:
mode:
authorEric L. Hernes <erich@FreeBSD.org>1996-12-09 15:37:29 +0000
committerEric L. Hernes <erich@FreeBSD.org>1996-12-09 15:37:29 +0000
commitf617349ad3d71b6d8708e8e13bffa802cb7a49ef (patch)
tree9d93998688da5909ee959b74503128c8154257ac /graphics/mpeg2codec/files/patch-ab
parentAh, I think I now understand INSTALL scripts w/pkg_add (diff)
upgrade to v 1.2
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>, with minor mods by me
Notes
Notes: svn path=/head/; revision=4910
Diffstat (limited to 'graphics/mpeg2codec/files/patch-ab')
-rw-r--r--graphics/mpeg2codec/files/patch-ab10
1 files changed, 7 insertions, 3 deletions
diff --git a/graphics/mpeg2codec/files/patch-ab b/graphics/mpeg2codec/files/patch-ab
index 326acaa4bc00..b0f6df0ce9fb 100644
--- a/graphics/mpeg2codec/files/patch-ab
+++ b/graphics/mpeg2codec/files/patch-ab
@@ -1,5 +1,5 @@
---- src/mpeg2enc/mpeg2enc.c 1996/06/20 19:58:58 1.1
-+++ src/mpeg2enc/mpeg2enc.c 1996/06/20 19:36:25
+--- ./src/mpeg2enc/mpeg2enc.c 1996/11/25 21:18:23 1.1
++++ ./src/mpeg2enc/mpeg2enc.c 1996/11/25 21:22:40
@@ -29,6 +29,7 @@
#include <stdio.h>
@@ -8,11 +8,15 @@
#define GLOBAL /* used by global.h */
#include "config.h"
-@@ -50,6 +51,8 @@
+@@ -50,6 +51,12 @@
printf("Usage: mpeg2encode in.par out.m2v\n");
exit(0);
}
+
++ /*
++ * this prevents a floating point exception in calcSNR (stats.c) when
++ * working on black and white images (charnier@lirmm.fr)
++ */
+ fpsetmask(0);
/* read parameter file */