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-23 10:40:06 +0300
commit050980e635b5bd75a8b526249504a1089330298a (patch)
treefe9fdb302a069cde57d1c770320f189308effc07 /source/blender/blenkernel/intern/writeffmpeg.c
parent48f4e1a63f2c2a858d05feabcf215f6d017722d0 (diff)
Fix ffmpeg saving long paths
Was checking wrong length on string copy.
Diffstat (limited to 'source/blender/blenkernel/intern/writeffmpeg.c')
-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 1a63bacf17a..1f602ea594d 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;