blob: f4a44efcc0cff565ffdd862dac5b5aee734330f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-ae,v 1.1 2003/10/20 02:41:29 hubertf Exp $
--- convert/jmovie2jpeg.c.orig 1995-01-20 00:29:24.000000000 +0000
+++ convert/jmovie2jpeg.c
@@ -283,12 +283,12 @@ static char inbuffer[300000] = {
if (fread (&(image_offset),sizeof(int),1,inFile) != 1)
{
perror("Error in reading image offset");
- exit();
+ exit(1);
}
if (fread (&(audio_tracks),sizeof(int),1,inFile) != 1)
{
perror("Error in reading audio tracks");
- exit();
+ exit(1);
}
if (audio_tracks != 1)
{
|