[FFmpeg-cvslog] r20740 - trunk/ffmpeg.c

stefano subversion
Sat Dec 5 16:14:01 CET 2009


Author: stefano
Date: Sat Dec  5 16:14:01 2009
New Revision: 20740

Log:
Add 'const' attribute to the last_asked_format variable, fix a
compiler warning.

Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	Sat Dec  5 16:09:10 2009	(r20739)
+++ trunk/ffmpeg.c	Sat Dec  5 16:14:01 2009	(r20740)
@@ -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];



More information about the ffmpeg-cvslog mailing list