Fix T40980: Exporting animation in MPEG Matroska using ffv1 and FLAC codecs fails

This commit is contained in:
Sergey Sharybin 2014-07-09 15:39:41 +06:00
parent 08eac0c367
commit 6c70559f58
Notes: blender-bot 2023-02-14 10:22:25 +01:00
Referenced by issue #40980, Exporting animation in MPEG Matroska using ffv1and FLAC codecs fails
1 changed files with 5 additions and 0 deletions

View File

@ -423,6 +423,11 @@ static AVFrame *generate_video_frame(uint8_t *pixels, ReportList *reports)
current_frame->data, current_frame->linesize);
delete_picture(rgb_frame);
}
current_frame->format = PIX_FMT_BGR32;
current_frame->width = width;
current_frame->height = height;
return current_frame;
}