Commit: c01e9cefe1522bca5dfdba0c909185b46aea2eab
Author: Campbell Barton
Date: Fri Oct 23 18:27:26 2015 +1100
Branches: blender-v2.76a-release
https://developer.blender.org/rBc01e9cefe1522bca5dfdba0c909185b46aea2eab
Fix ffmpeg saving long paths
Was checking wrong length on string copy.
===================================================================
M source/blender/blenkernel/intern/writeffmpeg.c
===================================================================
diff --git a/source/blender/blenkernel/intern/writeffmpeg.c
b/source/blender/blenkernel/intern/writeffmpeg.c
index bc734a9..079d244 100644
--- a/source/blender/blenkernel/intern/writeffmpeg.c
+++ b/source/blender/blenkernel/intern/writeffmpeg.c
@@ -809,7 +809,7 @@ static int start_ffmpeg_impl(FFMpegContext *context, struct
RenderData *rd, int
AVFormatContext *of;
AVOutputFormat *fmt;
AVDictionary *opts = NULL;
- char name[256], error[1024];
+ char name[FILE_MAX], error[1024];
const char **exts;
context->ffmpeg_type = rd->ffcodecdata.type;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs