diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-10-08 17:20:17 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-08 17:26:43 +0200 |
commit | 570fb660d6139430cc9141bd8138d68815f4182d (patch) | |
tree | a337fda0a2ab15135da55ecf3d224fb662131d06 /ffmpeg.c | |
parent | fb795585160a6ce630276802adba27e8d8e363d6 (diff) | |
download | ffmpeg-570fb660d6139430cc9141bd8138d68815f4182d.tar.gz |
ffmpeg: make q_pressed volatile, it can be changed from signal handlers.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -146,7 +146,7 @@ static int audio_volume = 256; static int exit_on_error = 0; static int using_stdin = 0; static int run_as_daemon = 0; -static int q_pressed = 0; +static volatile int q_pressed = 0; static int64_t video_size = 0; static int64_t audio_size = 0; static int64_t extra_size = 0; |