pls
This commit is contained in:
+2
-2
@@ -68,13 +68,13 @@ ppm_save(const unsigned int* buf, const PPM img)
|
||||
{
|
||||
if (!buf)
|
||||
{
|
||||
return 0;
|
||||
return 10;
|
||||
}
|
||||
unsigned char red, green, blue;
|
||||
unsigned char* dst_buf = malloc(img.len * 3);
|
||||
if (!dst_buf)
|
||||
{
|
||||
return 0;
|
||||
return 10;
|
||||
}
|
||||
printf("Starting encode...\n");
|
||||
FILE* fptr;
|
||||
|
||||
Reference in New Issue
Block a user