diff options
author | wm4 <nfxjfg@googlemail.com> | 2017-05-05 01:15:15 +0300 |
---|---|---|
committer | wm4 <nfxjfg@googlemail.com> | 2017-05-05 01:15:15 +0300 |
commit | 974ee16d6a71c31d0b5db4f139a40831c2f45776 (patch) | |
tree | d83a49ff8749b86cf9c1968d5949d0dd57d8f936 /ffmpeg_opt.c | |
parent | 3624d45ddbe93d93bd9f808b525b0f91c3d7a8cf (diff) |
ffmpeg: check for unconnected outputs
Fixes e.g.:
ffmpeg -f lavfi -i testsrc -f lavfi -i testsrc -filter_complex "[0:v][1:v]psnr[out]" -f null none
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r-- | ffmpeg_opt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index d1fe8742ff..e73a61059f 100644 --- a/ffmpeg_opt.c +++ b/ffmpeg_opt.c @@ -3260,6 +3260,8 @@ int ffmpeg_parse_options(int argc, char **argv) goto fail; } + check_filter_outputs(); + fail: uninit_parse_context(&octx); if (ret < 0) { |