diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2017-07-06 14:11:28 -0400 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2017-07-07 15:32:37 -0400 |
commit | 51db262312558fc62b8b89a138b280e612f37509 (patch) | |
tree | 69c4dba65077771b6c7d01c5b2d64a86665d2fe2 /libavcodec | |
parent | b198e0913854ddeefb4335a2a12c422cfc5aaf12 (diff) | |
download | ffmpeg-51db262312558fc62b8b89a138b280e612f37509.tar.gz |
bitstream_filter: Add missing error check
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/bitstream_filter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/bitstream_filter.c b/libavcodec/bitstream_filter.c index e9291aba19..8599b90d4a 100644 --- a/libavcodec/bitstream_filter.c +++ b/libavcodec/bitstream_filter.c @@ -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); |