summaryrefslogtreecommitdiff
path: root/multimedia/mpeg_encode/patches/patch-an
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mpeg_encode/patches/patch-an')
-rw-r--r--multimedia/mpeg_encode/patches/patch-an49
1 files changed, 0 insertions, 49 deletions
diff --git a/multimedia/mpeg_encode/patches/patch-an b/multimedia/mpeg_encode/patches/patch-an
deleted file mode 100644
index 041ec73ba89..00000000000
--- a/multimedia/mpeg_encode/patches/patch-an
+++ /dev/null
@@ -1,49 +0,0 @@
-$NetBSD: patch-an,v 1.1 2005/10/05 11:45:46 salo Exp $
-
-Fix for SA17008, from Gentoo.
-
---- readframe.c.orig 1995-08-15 00:31:58.000000000 +0200
-+++ readframe.c 2005-10-05 13:25:40.000000000 +0200
-@@ -227,14 +227,22 @@
- * SIDE EFFECTS: none
- *
- *===========================================================================*/
-+void _ReadFrame(MpegFrame *frame, char *fileName, FILE *fileHook, char *conversion, boolean addPath);
-+
-+void ReadFrame(MpegFrame *frame, char *fileName, char *conversion, boolean addPath)
-+{
-+ _ReadFrame(frame, fileName, NULL, conversion, addPath);
-+}
-+
- void
--ReadFrame(frame, fileName, conversion, addPath)
-+_ReadFrame(frame, fileName, fileHook, conversion, addPath)
- MpegFrame *frame;
- char *fileName;
-+ FILE *fileHook;
- char *conversion;
- boolean addPath;
- {
-- FILE *ifp;
-+ FILE *ifp = fileHook;
- char command[1024];
- char fullFileName[1024];
- MpegFrame tempFrame;
-@@ -274,6 +282,9 @@
- }
- #endif
-
-+ if (fileHook)
-+ goto file_is_already_opened;
-+
- if ( fileType == ANY_FILE_TYPE ) {
- char *convertPtr, *commandPtr, *charPtr;
-
-@@ -325,6 +336,7 @@
- exit(1);
- }
-
-+file_is_already_opened:
- switch(baseFormat) {
- case YUV_FILE_TYPE:
-