From ef6fc64762a34a48aad9c070ffdf00b55dd6880e Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sat, 5 Dec 2009 15:14:01 +0000 Subject: [PATCH] Add 'const' attribute to the last_asked_format variable, fix a compiler warning. Originally committed as revision 20740 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index 061d65bd6f..fe5d212a7f 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -91,7 +91,7 @@ static const OptionDef options[]; #define MAX_FILES 20 -static char *last_asked_format = NULL; +static const char *last_asked_format = NULL; static AVFormatContext *input_files[MAX_FILES]; static int64_t input_files_ts_offset[MAX_FILES]; static double input_files_ts_scale[MAX_FILES][MAX_STREAMS];