mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avconv: fix a check for av_bsf_get_by_name() return value
This commit is contained in:
parent
9f7590f4e4
commit
80fb19bc23
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user