@@ -33,11 +33,7 @@
|
|||||||
|
|
||||||
/* gcc -std=c99 jpegyuv.c -I/opt/local/include/ -L/opt/local/lib/ -ljpeg -o jpegyuv */
|
/* gcc -std=c99 jpegyuv.c -I/opt/local/include/ -L/opt/local/lib/ -ljpeg -o jpegyuv */
|
||||||
|
|
||||||
#include <errno.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <inttypes.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "jpeglib.h"
|
#include "jpeglib.h"
|
||||||
@@ -71,8 +67,6 @@ int main(int argc, char *argv[]) {
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
errno = 0;
|
|
||||||
|
|
||||||
/* Will check these for validity when opening via 'fopen'. */
|
/* Will check these for validity when opening via 'fopen'. */
|
||||||
jpg_path = argv[1];
|
jpg_path = argv[1];
|
||||||
yuv_path = argv[2];
|
yuv_path = argv[2];
|
||||||
|
|||||||
Reference in New Issue
Block a user