aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-05-24 16:36:16 +0200
committerAnton Khirnov <anton@khirnov.net>2016-05-26 15:40:34 +0200
commit80fb19bc234a3f2350d891adf39f3738a8e4849f (patch)
tree3d33c9b2533ee4595be6f187a6a3e3db4db6f086
parent9f7590f4e497c12693247d7f935a20d7773a64dd (diff)
downloadffmpeg-80fb19bc234a3f2350d891adf39f3738a8e4849f.tar.gz
avconv: fix a check for av_bsf_get_by_name() return value
-rw-r--r--avconv_opt.c2
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);
}