Browse Source

avconv: fix a check for av_bsf_get_by_name() return value

tags/n3.1
Anton Khirnov 9 years ago
parent
commit
80fb19bc23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      avconv_opt.c

+ 1
- 1
avconv_opt.c View File

@@ -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…
Cancel
Save