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
This commit is contained in:
parent
b1159ad928
commit
ef6fc64762
2
ffmpeg.c
2
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];
|
||||
|
Loading…
Reference in New Issue
Block a user