[Ffmpeg-cvslog] CVS: ffmpeg/vhook ppm.c,1.7,1.8
Måns Rullgård CVS
mru
Tue Jan 31 00:33:22 CET 2006
- Previous message: [Ffmpeg-cvslog] CVS: ffmpeg ffmpeg.c, 1.366, 1.367 output_example.c, 1.18, 1.19
- Next message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec dvdsub.c, 1.5, 1.6 snow.c, 1.86, 1.87 utils.c, 1.172, 1.173 vc9.c, 1.26, 1.27 vorbis.c, 1.14, 1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/ffmpeg/ffmpeg/vhook
In directory mail:/var2/tmp/cvs-serv24981/vhook
Modified Files:
ppm.c
Log Message:
add static keyword to some functions
patch by Dieter <freebsd at sopwith solgatos com>
Index: ppm.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/vhook/ppm.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- ppm.c 12 Jan 2006 22:43:26 -0000 1.7
+++ ppm.c 30 Jan 2006 23:33:19 -0000 1.8
@@ -40,7 +40,7 @@
/** Create a bidirectional pipe for the given command.
*/
-rwpipe *rwpipe_open( int argc, char *argv[] )
+static rwpipe *rwpipe_open( int argc, char *argv[] )
{
rwpipe *this = av_mallocz( sizeof( rwpipe ) );
@@ -94,7 +94,7 @@
/** Read data from the pipe.
*/
-FILE *rwpipe_reader( rwpipe *this )
+static FILE *rwpipe_reader( rwpipe *this )
{
if ( this != NULL )
return this->reader;
@@ -105,7 +105,7 @@
/** Write data to the pipe.
*/
-FILE *rwpipe_writer( rwpipe *this )
+static FILE *rwpipe_writer( rwpipe *this )
{
if ( this != NULL )
return this->writer;
@@ -116,7 +116,7 @@
/* Read a number from the pipe - assumes PNM style headers.
*/
-int rwpipe_read_number( rwpipe *rw )
+static int rwpipe_read_number( rwpipe *rw )
{
int value = 0;
int c = 0;
@@ -147,7 +147,7 @@
/** Read a PPM P6 header.
*/
-int rwpipe_read_ppm_header( rwpipe *rw, int *width, int *height )
+static int rwpipe_read_ppm_header( rwpipe *rw, int *width, int *height )
{
char line[ 3 ];
FILE *in = rwpipe_reader( rw );
@@ -167,7 +167,7 @@
/** Close the pipe and process.
*/
-void rwpipe_close( rwpipe *this )
+static void rwpipe_close( rwpipe *this )
{
if ( this != NULL )
{
- Previous message: [Ffmpeg-cvslog] CVS: ffmpeg ffmpeg.c, 1.366, 1.367 output_example.c, 1.18, 1.19
- Next message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec dvdsub.c, 1.5, 1.6 snow.c, 1.86, 1.87 utils.c, 1.172, 1.173 vc9.c, 1.26, 1.27 vorbis.c, 1.14, 1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the ffmpeg-cvslog
mailing list