diff options
author | Stefan Huehner <stefan@huehner.org> | 2006-06-18 11:33:14 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-06-18 11:33:14 +0000 |
commit | 7b49ce2e344a5f8864d8365d57f3c6c743f0c8f7 (patch) | |
tree | 12c908af01e95ca2df7f4ca20be592871527577e /ffmpeg.c | |
parent | 3b9bee88891d1c170eb42d1ef51c5cd7f19b5ba5 (diff) | |
download | ffmpeg-7b49ce2e344a5f8864d8365d57f3c6c743f0c8f7.tar.gz |
Add const to (mostly) char* and make some functions static, which aren't used
outside their declaring source file and which have no corresponding prototype.
patch by Stefan Huehner stefan^^@^^huehner^^.^^org
Originally committed as revision 5497 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -211,12 +211,12 @@ static int video_global_header = 0; static int rate_emu = 0; #ifdef CONFIG_BKTR -static char *video_grab_format = "bktr"; +static const char *video_grab_format = "bktr"; #else #ifdef CONFIG_VIDEO4LINUX2 -static char *video_grab_format = "video4linux2"; +static const char *video_grab_format = "video4linux2"; #else -static char *video_grab_format = "video4linux"; +static const char *video_grab_format = "video4linux"; #endif #endif static char *video_device = NULL; @@ -224,7 +224,7 @@ static char *grab_device = NULL; static int video_channel = 0; static char *video_standard = "ntsc"; -static char *audio_grab_format = "audio_device"; +static const char *audio_grab_format = "audio_device"; static char *audio_device = NULL; static int audio_volume = 256; |