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:
authorCampbell Barton <ideasman42@gmail.com>2015-10-23 10:27:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-10-29 13:10:14 +0300
commitc01e9cefe1522bca5dfdba0c909185b46aea2eab (patch)
tree40faf24df6f85b71c70799b07f7ab4f70955323f
parente54f38ebf0b4521f2e0ac0664dfb7d29c6f01f5b (diff)
Fix ffmpeg saving long paths
Was checking wrong length on string copy.
-rw-r--r--source/blender/blenkernel/intern/writeffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/writeffmpeg.c b/source/blender/blenkernel/intern/writeffmpeg.c
index bc734a9a551..079d24451a5 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;