summaryrefslogtreecommitdiff
path: root/vhook/imlib2.c
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/imlib2.c
parent0d4c587854097c1cf530d1d9fd0ff8bb231be427 (diff)
use av_strdup()
Originally committed as revision 1507 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'vhook/imlib2.c')
-rw-r--r--vhook/imlib2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vhook/imlib2.c b/vhook/imlib2.c
index 7da3586fee..64b1bae687 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);