From e312543c82b493422911213ab792cb94f3a9e5b4 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 30 Aug 2011 20:17:07 +0200 Subject: [PATCH] ffmpeg: fix reading commands from stdin Signed-off-by: Michael Niedermayer --- ffmpeg.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index 6453e05f0e..739b866e63 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2325,8 +2325,13 @@ static int transcode(OutputFile *output_files, if (key == 'c' || key == 'C'){ char ret[4096], target[64], cmd[256], arg[256]={0}; double ts; + int k; fprintf(stderr, "\nEnter command: