Commit 51db2623 authored by Derek Buitenhuis's avatar Derek Buitenhuis

bitstream_filter: Add missing error check

Signed-off-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parent b198e091
......@@ -122,6 +122,8 @@ int av_bitstream_filter_filter(AVBitStreamFilterContext *bsfc,
shorthand[0] = opt->name;
ret = av_opt_set_from_string(priv->ctx->priv_data, bsfc->args, shorthand, "=", ":");
if (ret < 0)
return ret;
}
ret = av_bsf_init(priv->ctx);
......
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