[FFmpeg-devel] [PATCH 1/2] ffmpeg: invert using_stdin and rename accordingly.

Stefano Sabatini stefasab at gmail.com
Sun Jul 15 15:31:59 CEST 2012


On date Saturday 2012-07-14 19:18:49 +0200, Nicolas George encoded:
> There are other reasons not to use stdin than having it as an input.
> 
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  ffmpeg.c |   12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/ffmpeg.c b/ffmpeg.c
> index f949d48..3acdf48 100644
> --- a/ffmpeg.c
> +++ b/ffmpeg.c
> @@ -158,7 +158,7 @@ static FILE *vstats_file;
>  static int audio_volume = 256;
>  
>  static int exit_on_error = 0;
> -static int using_stdin = 0;
> +static int stdin_interaction = 1;

[...]

LGTM, and much clearer name imo, thanks.
-- 
FFmpeg = Fierce Fanciful Multipurpose Pitiless Elected God


More information about the ffmpeg-devel mailing list