diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-05-23 12:37:52 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-05-23 12:37:52 +0000 |
commit | 19757f6169a43ddd11fa0c01c0762844858a6aea (patch) | |
tree | eec684c68fc788b782d1c14712b56e228b142981 /libavutil | |
parent | fdf35f265ac239d8a28d1be58d96a82b219c88b7 (diff) | |
download | ffmpeg-19757f6169a43ddd11fa0c01c0762844858a6aea.tar.gz |
indent
Originally committed as revision 13251 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/mem.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavutil/mem.c b/libavutil/mem.c index 3eaa366d53..960074c70f 100644 --- a/libavutil/mem.c +++ b/libavutil/mem.c @@ -141,10 +141,10 @@ char *av_strdup(const char *s) { 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; } |