summaryrefslogtreecommitdiff
path: root/contrib/ffmpeg/vhook/ppm.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-03-01 03:05:13 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-03-01 03:05:13 +0100
commit1d0b3b20c34517b9d1ddf3ea347776304b0c4b44 (patch)
tree89f4fc640c2becc6f00ae08996754952ecf149c1 /contrib/ffmpeg/vhook/ppm.c
parent09496ad3469a0ade8dbd9a351e639b78f20b7942 (diff)
downloadxine-lib-1d0b3b20c34517b9d1ddf3ea347776304b0c4b44.tar.gz
xine-lib-1d0b3b20c34517b9d1ddf3ea347776304b0c4b44.tar.bz2
Update internal FFmpeg copy.
Diffstat (limited to 'contrib/ffmpeg/vhook/ppm.c')
-rw-r--r--contrib/ffmpeg/vhook/ppm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/ffmpeg/vhook/ppm.c b/contrib/ffmpeg/vhook/ppm.c
index 9f618e55b..db76998b5 100644
--- a/contrib/ffmpeg/vhook/ppm.c
+++ b/contrib/ffmpeg/vhook/ppm.c
@@ -28,6 +28,7 @@
#include "framehook.h"
#include "avformat.h"
#include "swscale.h"
+#include "avstring.h"
static int sws_flags = SWS_BICUBIC;
@@ -68,8 +69,8 @@ static rwpipe *rwpipe_open( int argc, char *argv[] )
strcpy( command, "" );
for ( i = 0; i < argc; i ++ )
{
- pstrcat( command, COMMAND_SIZE, argv[ i ] );
- pstrcat( command, COMMAND_SIZE, " " );
+ av_strlcat( command, argv[ i ], COMMAND_SIZE );
+ av_strlcat( command, " ", COMMAND_SIZE );
}
dup2( output[ 0 ], STDIN_FILENO );