summaryrefslogtreecommitdiff
path: root/contrib/ffmpeg/libavutil/softfloat.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ffmpeg/libavutil/softfloat.h')
-rw-r--r--contrib/ffmpeg/libavutil/softfloat.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/ffmpeg/libavutil/softfloat.h b/contrib/ffmpeg/libavutil/softfloat.h
index 5bb2c1cbc..d1a1901ea 100644
--- a/contrib/ffmpeg/libavutil/softfloat.h
+++ b/contrib/ffmpeg/libavutil/softfloat.h
@@ -16,9 +16,13 @@
* 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
#define ONE_BITS 29
@@ -120,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 */