Commit f2a04a31 authored by François Grisez's avatar François Grisez

Fixes crash in VideoToolbox filter

parent 73bd2518
......@@ -364,7 +364,7 @@ static int h264_enc_get_config_list(MSFilter *f, const MSVideoConfiguration **co
static int h264_enc_set_config_list(MSFilter *f, const MSVideoConfiguration **conf_list) {
const MSVideoConfiguration *conf = *conf_list;
((VTH264EncCtx *)f->data)->video_confs = conf ? conf : NULL;
((VTH264EncCtx *)f->data)->video_confs = conf ? conf : h264_video_confs;
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment