summaryrefslogtreecommitdiff
path: root/multimedia/dumpmpeg/patches
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-06-26 18:05:45 +0000
committergrant <grant@pkgsrc.org>2004-06-26 18:05:45 +0000
commitb3d15114b52204c2827e63bd7f82d67964191054 (patch)
tree3cdf9e9e25e8a1ff523b014ec321e20fadba806b /multimedia/dumpmpeg/patches
parentefbf02868142d542a84c111af0d47f38e729eb21 (diff)
downloadpkgsrc-b3d15114b52204c2827e63bd7f82d67964191054.tar.gz
move dumpmpeg to multimedia/
Diffstat (limited to 'multimedia/dumpmpeg/patches')
-rw-r--r--multimedia/dumpmpeg/patches/patch-aa22
1 files changed, 22 insertions, 0 deletions
diff --git a/multimedia/dumpmpeg/patches/patch-aa b/multimedia/dumpmpeg/patches/patch-aa
new file mode 100644
index 00000000000..d0eb1c695d2
--- /dev/null
+++ b/multimedia/dumpmpeg/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 2004/06/26 18:05:45 grant Exp $
+
+--- dumpmpeg.c.orig Thu May 17 15:52:12 2001
++++ dumpmpeg.c
+@@ -318,14 +318,14 @@
+ #ifdef VCD_SUPPORT
+ /* Check if source is a CDROM device */
+ if((fd = vcd_open(argv[i])) != 0)
+- mpeg = SMPEG_new_descr(fd, &info, 1);
++ mpeg = SMPEG_new_descr(fd, &info, 0); /* we don't need audio! */
+ else
+ #endif
+ {
+ if(strcmp(argv[i], "-") == 0) /* Use stdin for input */
+- mpeg = SMPEG_new_descr(0, &info, 1);
++ mpeg = SMPEG_new_descr(0, &info, 0); /* we don't need audio! */
+ else
+- mpeg = SMPEG_new(argv[i], &info, 1);
++ mpeg = SMPEG_new(argv[i], &info, 0); /* we don't need audio! */
+ }
+
+ if ( SMPEG_error(mpeg) ) {