use av_strdup()

Originally committed as revision 1507 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Fabrice Bellard
2003-01-23 23:34:29 +00:00
parent 0d4c587854
commit e9a9e0c210
4 changed files with 8 additions and 8 deletions

View File

@ -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);