提交 6025738b 编写于 作者: A Alexander Alekhin

Merge pull request #5454 from alalek:fix_ffmpeg_priv_data

......@@ -1274,7 +1274,8 @@ static AVStream *icv_add_video_stream_FFMPEG(AVFormatContext *oc,
c->gop_size = -1;
c->qmin = -1;
c->bit_rate = 0;
av_opt_set(c->priv_data,"crf","23", 0);
if (c->priv_data)
av_opt_set(c->priv_data,"crf","23", 0);
}
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册