openbsd-ports/graphics/mpeg_encode/patches/patch-combine_c
2009-10-12 22:44:56 +00:00

22 lines
644 B
Plaintext

$OpenBSD: patch-combine_c,v 1.2 2009/10/12 22:44:56 naddy Exp $
--- combine.c.orig Mon Aug 7 23:42:51 1995
+++ combine.c Tue Oct 13 00:41:51 2009
@@ -133,7 +133,7 @@ GOPStoMPEG(numGOPS, outputFileName, outputFilePtr)
BitBucket *bb;
char fileName[1024];
char inputFileName[1024];
- FILE *inputFile;
+ FILE *inputFile=NULL;
int q;
{
@@ -235,7 +235,7 @@ FramesToMPEG(numFrames, outputFileName, outputFile, pa
BitBucket *bb;
char fileName[1024];
char inputFileName[1024];
- FILE *inputFile;
+ FILE *inputFile=NULL;
int pastRefNum = -1;
int futureRefNum = -1;
int q;