diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-06-24 12:23:34 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-06-24 12:23:34 +0000 |
commit | 272605c73e02ff4e847e103ad3bd3161d7212949 (patch) | |
tree | 8f6e5916c84e1f258c3a8cafb076f3be8292be09 /vhook/ppm.c | |
parent | 19f4cecafa8eeb51e3279da99b1b5d3c8edb3e2e (diff) | |
download | ffmpeg-272605c73e02ff4e847e103ad3bd3161d7212949.tar.gz |
more av_strl* adjustments
Originally committed as revision 9412 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'vhook/ppm.c')
-rw-r--r-- | vhook/ppm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vhook/ppm.c b/vhook/ppm.c index 9f618e55b3..db76998b5a 100644 --- a/vhook/ppm.c +++ b/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 ); |