[FFmpeg-cvslog] avconv: fix a check for av_bsf_get_by_name() return value
Anton Khirnov
git at videolan.org
Sun Jun 26 15:39:33 CEST 2016
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue May 24 16:36:16 2016 +0200| [80fb19bc234a3f2350d891adf39f3738a8e4849f] | committer: Anton Khirnov
avconv: fix a check for av_bsf_get_by_name() return value
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=80fb19bc234a3f2350d891adf39f3738a8e4849f
---
avconv_opt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/avconv_opt.c b/avconv_opt.c
index d73df67..c02e479 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);
}
More information about the ffmpeg-cvslog
mailing list