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:
authorPhilipp Oeser <info@graphics-engineer.com>2019-09-27 12:09:38 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2019-09-27 13:02:08 +0300
commitc5db0272d4befa4ee8c7da8dec8932e379a7275f (patch)
tree9bb201470b26482e4dfb7c1ad16d0bb44e73650d /source/blender/imbuf/intern/util.c
parent4b206d9a5135ffd2be25726b65e8205bcfa7878e (diff)
Fix T70276: View animation with jpeg 2000 image will crash player
Since our ffmpeg is built with openjpeg support and thus can decode jpeg 2000 (in both J2K and JP2 codec flavors as well as high bitdepths), added these extensions to the supported list. Also IMB_ispic > IMB_ispic_type > imb_is_a_jp2 was only testing for jp2, now do both jp2/j2k. Reviewers: brecht Maniphest Tasks: T70276 Differential Revision: https://developer.blender.org/D5909
Diffstat (limited to 'source/blender/imbuf/intern/util.c')
-rw-r--r--source/blender/imbuf/intern/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/util.c b/source/blender/imbuf/intern/util.c
index c5bae4ddbad..27b566e25a2 100644
--- a/source/blender/imbuf/intern/util.c
+++ b/source/blender/imbuf/intern/util.c
@@ -252,6 +252,8 @@ static int isffmpeg(const char *filename)
if (BLI_path_extension_check_n(filename,
".swf",
".jpg",
+ ".jp2",
+ ".j2c",
".png",
".dds",
".tga",