aboutsummaryrefslogtreecommitdiff
path: root/libavutil/intfloat_readwrite.h
diff options
context:
space:
mode:
authorZuxy Meng2008-03-18 15:27:15 +0000
committerBenoit Fouet2008-03-18 15:27:15 +0000
commit6544f48f038552973a552401cea5d4e8f1fc9c0a (patch)
treedf001b9633d7c0cd7407cc0566e21917edf73d7b /libavutil/intfloat_readwrite.h
parent38c669d853dfa60a73bf59695ff03e7104650623 (diff)
Pure, const and malloc attributes to libavutil.
Patch by Zuxy Meng: zuxy meng gmail com Original thread: [FFmpeg-devel] [PATCH] Pure, const and malloc attributes to libavutil Date: 03/18/2008 6:09 AM Originally committed as revision 12489 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/intfloat_readwrite.h')
-rw-r--r--libavutil/intfloat_readwrite.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavutil/intfloat_readwrite.h b/libavutil/intfloat_readwrite.h
index 1ebb053f3a..4b3f9b7bcf 100644
--- a/libavutil/intfloat_readwrite.h
+++ b/libavutil/intfloat_readwrite.h
@@ -30,11 +30,11 @@ typedef struct AVExtFloat {
uint8_t mantissa[8];
} AVExtFloat;
-double av_int2dbl(int64_t v);
-float av_int2flt(int32_t v);
-double av_ext2dbl(const AVExtFloat ext);
-int64_t av_dbl2int(double d);
-int32_t av_flt2int(float d);
-AVExtFloat av_dbl2ext(double d);
+double av_int2dbl(int64_t v) av_const;
+float av_int2flt(int32_t v) av_const;
+double av_ext2dbl(const AVExtFloat ext) av_const;
+int64_t av_dbl2int(double d) av_const;
+int32_t av_flt2int(float d) av_const;
+AVExtFloat av_dbl2ext(double d) av_const;
#endif /* FFMPEG_INTFLOAT_READWRITE_H */