blob: 14ae906fd684b53566387d390a588be54ae9e5cb (
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.2 2005/10/05 11:45:46 salo 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)
{
|