Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2006-02-28 21:30:16 +0300
committerKent Mein <mein@cs.umn.edu>2006-02-28 21:30:16 +0300
commit59aced7a509e40654eec4e321f60ce20f173450d (patch)
tree1ba917b7e0a5e61c85f32df5450ba7b7528d6a9d /source/blender/imbuf/intern/IMB_jpeg.h
parent21df108cb92355c60f6b4852ac7a558b5ffa778e (diff)
Fix for bug #3886
Basically the check for a type of jpeg was messed up. I added a imb_is_a_jpeg function since I was working on that bit and it makes it a little more similar to the other filetypes. I also changed a switch statement that had the same loop for all cases, just moved the loop outside of the switch statement. Kent
Diffstat (limited to 'source/blender/imbuf/intern/IMB_jpeg.h')
-rw-r--r--source/blender/imbuf/intern/IMB_jpeg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/IMB_jpeg.h b/source/blender/imbuf/intern/IMB_jpeg.h
index 8edf42881ae..4a86a72ca77 100644
--- a/source/blender/imbuf/intern/IMB_jpeg.h
+++ b/source/blender/imbuf/intern/IMB_jpeg.h
@@ -43,6 +43,7 @@
struct ImBuf;
struct jpeg_compress_struct;
+int imb_is_a_jpeg(unsigned char *mem);
int imb_savejpeg(struct ImBuf * ibuf, char * name, int flags);
struct ImBuf * imb_ibJpegImageFromFilename (char * filename, int flags);
struct ImBuf * imb_ibJpegImageFromMemory (unsigned char * buffer, int size, int flags);