summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-12-05 15:14:01 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-12-05 15:14:01 +0000
commitef6fc64762a34a48aad9c070ffdf00b55dd6880e (patch)
tree3852c37d4d7ae9b4a2d776d8c41866c345f2813a /ffmpeg.c
parentb1159ad92818cd8f0885d252b0800f5960fe7241 (diff)
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
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
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];