summaryrefslogtreecommitdiffstats
path: root/vhook
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-01-23 23:34:29 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-01-23 23:34:29 +0000
commite9a9e0c21090d18089d212c39e9249f9a7ed559c (patch)
tree2217ae1ac0279ebc6081549625fc2b0007d96515 /vhook
parent0d4c587854097c1cf530d1d9fd0ff8bb231be427 (diff)
downloadffmpeg-streaming-e9a9e0c21090d18089d212c39e9249f9a7ed559c.zip
ffmpeg-streaming-e9a9e0c21090d18089d212c39e9249f9a7ed559c.tar.gz
use av_strdup()
Originally committed as revision 1507 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'vhook')
-rw-r--r--vhook/fish.c2
-rw-r--r--vhook/imlib2.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/vhook/fish.c b/vhook/fish.c
index 2de265f..1e75e9c 100644
--- a/vhook/fish.c
+++ b/vhook/fish.c
@@ -134,7 +134,7 @@ int Configure(void **ctxp, int argc, char *argv[])
ci->debug++;
break;
case 'D':
- ci->dir = strdup(optarg);
+ ci->dir = av_strdup(optarg);
break;
default:
fprintf(stderr, "Unrecognized argument '%s'\n", argv[optind]);
diff --git a/vhook/imlib2.c b/vhook/imlib2.c
index 7da3586..64b1bae 100644
--- a/vhook/imlib2.c
+++ b/vhook/imlib2.c
@@ -112,10 +112,10 @@ int Configure(void **ctxp, int argc, char *argv[])
font = optarg;
break;
case 't':
- ci->text = strdup(optarg);
+ ci->text = av_strdup(optarg);
break;
case 'f':
- ci->file = strdup(optarg);
+ ci->file = av_strdup(optarg);
break;
case 'x':
ci->x = atoi(optarg);
OpenPOWER on IntegriCloud