diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-02-17 17:09:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-02-17 17:09:16 +0300 |
commit | f5c9574e6878281bbf0542de0b3b74a7655ce79c (patch) | |
tree | d30ffe59ae9e0a8215f2914c08e2e1777f68d8db /source/blender/imbuf/intern/anim.c | |
parent | 712e8c6a5c0173ccf251060c4e018ac81b6ae916 (diff) |
remove duplicate function.
Diffstat (limited to 'source/blender/imbuf/intern/anim.c')
-rw-r--r-- | source/blender/imbuf/intern/anim.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/source/blender/imbuf/intern/anim.c b/source/blender/imbuf/intern/anim.c index 075c8c82417..d5ca605cad4 100644 --- a/source/blender/imbuf/intern/anim.c +++ b/source/blender/imbuf/intern/anim.c @@ -255,22 +255,10 @@ static int an_stringdec(char *string, char* kop, char *staart,unsigned short *nu } -static void an_stringenc(char *string, char *kop, char *staart, -unsigned short numlen, int pic) { - char numstr[10]; - unsigned short len,i; - - len=sprintf(numstr,"%d",pic); - - strcpy(string,kop); - for(i=len;i<numlen;i++){ - strcat(string,"0"); - } - strcat(string,numstr); - strcat(string,staart); +static void an_stringenc(char *string, char *head, char *start, unsigned short numlen, int pic) { + BLI_stringenc(string, head, start, numlen, pic); } - static void free_anim_avi (struct anim *anim) { #if defined(_WIN32) && !defined(FREE_WINDOWS) int i; |