]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/softfloat.h
cosmetic
[ffmpeg] / libavutil / softfloat.h
index 6b1831aebadb1a784a6da870a0276ee669b104e3..d1a1901ea5575976e1e6e71111b454db4338553e 100644 (file)
@@ -1,4 +1,27 @@
-//copyright Michael Niedermayer 2006 license:LGPL
+/*
+ * Copyright (c) 2006 Michael Niedermayer <michaelni@gmx.at>
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef FFMPEG_SOFTFLOAT_H
+#define FFMPEG_SOFTFLOAT_H
+
+#include <stdint.h>
 
 #define MIN_EXP -126
 #define MAX_EXP  126
@@ -101,3 +124,5 @@ static inline int av_sf2int(SoftFloat v, int frac_bits){
     if(v.exp >= 0) return v.mant <<  v.exp ;
     else           return v.mant >>(-v.exp);
 }
+
+#endif /* FFMPEG_SOFTFLOAT_H */