Commit 90552407 authored by Michael Niedermayer's avatar Michael Niedermayer

Fix seting of decode_interrupt_cb()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 4118d66c
......@@ -2505,8 +2505,9 @@ static int transcode(AVFormatContext **output_files,
print_sdp(output_files, nb_output_files);
}
if (!using_stdin && verbose >= 0) {
fprintf(stderr, "Press [q] to stop encoding\n");
if (!using_stdin) {
if(verbose >= 0)
fprintf(stderr, "Press [q] to stop encoding\n");
url_set_interrupt_cb(decode_interrupt_cb);
}
term_init();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment