Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: m-labs/flickernoise
base: a7e1867
head fork: m-labs/flickernoise
compare: d4ef921
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/pixbuf/loaderjpeg.c
2  src/pixbuf/loaderjpeg.c
@@ -18,6 +18,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <setjmp.h>
+#include <string.h>
#include <jpeglib.h>
#include "pixbuf.h"
@@ -75,6 +76,7 @@ struct pixbuf *pixbuf_load_jpeg(char *filename)
ret = pixbuf_new(cinfo.image_width, cinfo.image_height);
if(ret == NULL) goto free5;
+ ret->filename = strdup(filename);
if(!pixbuf_dither(ret->pixels, row_pointers, cinfo.image_width, cinfo.image_height, 0)) {
ret = NULL;

No commit comments for this range

Something went wrong with that request. Please try again.