Possible fix for T38644: H.264 with PNG RGBA encoding crashes

This commit is contained in:
Sergey Sharybin 2014-02-18 12:37:21 +06:00
parent 97b90d89f4
commit 2175302d3b
Notes: blender-bot 2023-02-14 11:11:03 +01:00
Referenced by issue #38742, Mac OS: Crash in Popups
Referenced by issue #38644, H.264 file format with PNG encoding give
1 changed files with 1 additions and 1 deletions

View File

@ -606,7 +606,7 @@ static AVStream *alloc_video_stream(RenderData *rd, int codec_id, AVFormatContex
if (codec_id == AV_CODEC_ID_PNG) {
if (rd->im_format.planes == R_IMF_PLANES_RGBA) {
c->pix_fmt = PIX_FMT_ARGB;
c->pix_fmt = PIX_FMT_RGBA;
}
}