diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-05-24 16:36:16 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-05-26 15:40:34 +0200 |
commit | 80fb19bc234a3f2350d891adf39f3738a8e4849f (patch) | |
tree | 3d33c9b2533ee4595be6f187a6a3e3db4db6f086 | |
parent | 9f7590f4e497c12693247d7f935a20d7773a64dd (diff) | |
download | ffmpeg-80fb19bc234a3f2350d891adf39f3738a8e4849f.tar.gz |
avconv: fix a check for av_bsf_get_by_name() return value
-rw-r--r-- | avconv_opt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avconv_opt.c b/avconv_opt.c index d73df67e97..c02e4798e6 100644 --- a/avconv_opt.c +++ b/avconv_opt.c @@ -1015,7 +1015,7 @@ static OutputStream *new_output_stream(OptionsContext *o, AVFormatContext *oc, e *next++ = 0; filter = av_bsf_get_by_name(bsf); - if (!bsf) { + if (!filter) { av_log(NULL, AV_LOG_FATAL, "Unknown bitstream filter %s\n", bsf); exit_program(1); } |