diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-10-23 10:27:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-10-23 10:40:06 +0300 |
commit | 050980e635b5bd75a8b526249504a1089330298a (patch) | |
tree | fe9fdb302a069cde57d1c770320f189308effc07 /source/blender/blenkernel/intern | |
parent | 48f4e1a63f2c2a858d05feabcf215f6d017722d0 (diff) |
Fix ffmpeg saving long paths
Was checking wrong length on string copy.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/writeffmpeg.c | 2 |
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; |