Mercurial > libavutil.hg
changeset 509:8e2f8b81f59f libavutil
indent
author | michael |
---|---|
date | Fri, 23 May 2008 12:37:52 +0000 |
parents | 9409d2db661c |
children | b7593ce78422 |
files | mem.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mem.c Fri May 23 12:37:32 2008 +0000 +++ b/mem.c Fri May 23 12:37:52 2008 +0000 @@ -141,10 +141,10 @@ { char *ptr= NULL; if(s){ - int len = strlen(s) + 1; - ptr = av_malloc(len); - if (ptr) - memcpy(ptr, s, len); + int len = strlen(s) + 1; + ptr = av_malloc(len); + if (ptr) + memcpy(ptr, s, len); } return ptr; }