Skip to content
Snippets Groups Projects
Commit 80fb19bc authored by Anton Khirnov's avatar Anton Khirnov
Browse files

avconv: fix a check for av_bsf_get_by_name() return value

parent 9f7590f4
No related branches found
No related tags found
No related merge requests found
...@@ -1015,7 +1015,7 @@ static OutputStream *new_output_stream(OptionsContext *o, AVFormatContext *oc, e ...@@ -1015,7 +1015,7 @@ static OutputStream *new_output_stream(OptionsContext *o, AVFormatContext *oc, e
*next++ = 0; *next++ = 0;
filter = av_bsf_get_by_name(bsf); filter = av_bsf_get_by_name(bsf);
if (!bsf) { if (!filter) {
av_log(NULL, AV_LOG_FATAL, "Unknown bitstream filter %s\n", bsf); av_log(NULL, AV_LOG_FATAL, "Unknown bitstream filter %s\n", bsf);
exit_program(1); exit_program(1);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment