aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-12-14 01:15:02 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-12-14 01:15:02 +0000
commitb3e88ae84bddfc80c2ec760d14359febb54f4e8f (patch)
tree2fed41ce011b8d45a2e92caede4486e33189216b /libavutil
parent02483df47898c935c969bac4d1d22c0ff96a407b (diff)
downloadffmpeg-b3e88ae84bddfc80c2ec760d14359febb54f4e8f.tar.gz
Place { of the function where indent -kr wants it.
Also more consistent with the rest of the code. Originally committed as revision 20851 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/avstring.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/avstring.c b/libavutil/avstring.c
index 02af970812..6d45a9581a 100644
--- a/libavutil/avstring.c
+++ b/libavutil/avstring.c
@@ -78,7 +78,8 @@ size_t av_strlcatf(char *dst, size_t size, const char *fmt, ...)
return len;
}
-char *av_d2str(double d){
+char *av_d2str(double d)
+{
char *str= av_malloc(16);
if(str) snprintf(str, 16, "%f", d);
return str;