Fix ffmpeg saving long paths

Was checking wrong length on string copy.
This commit is contained in:
Campbell Barton 2015-10-23 18:27:26 +11:00
parent 48f4e1a63f
commit 050980e635
1 changed files with 1 additions and 1 deletions

View File

@ -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;