ports/multimedia/exportvideo/files/patch-quicktime_libdv_oss.c
Pav Lucistnik 3c844061b7 Add exportvideo, an utility extracts the video data from a nuppelvideo
file and writes a YUV4MPEG stream which can be piped to mpeg2enc.
In other words, it exports the nuppelvideo .nuv format for encoding
(S)VCD/DVD compliant MPEGs with mjpegtools.

PR:		ports/73417
Submitted by:	Frank W. Josellis <frank@dynamical-systems.org>
2004-11-06 20:17:06 +00:00

11 lines
497 B
C

--- quicktime/libdv/oss.c.orig Mon Feb 12 22:35:19 2001
+++ quicktime/libdv/oss.c Mon Nov 1 09:41:06 2004
@@ -82,7 +82,7 @@
if(oss->arg_audio_device && oss->arg_audio_file) goto usage;
if(oss->arg_audio_file) {
if ((oss->fd = open(oss->arg_audio_file,
- O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE,
+ O_WRONLY|O_CREAT|O_TRUNC,
S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP)) == -1) goto no_file;
} else {
device = (gchar *)(oss->arg_audio_device ? oss->arg_audio_device : default_device);