summaryrefslogtreecommitdiff
path: root/libavcodec/cook.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2010-07-02 12:52:14 +0000
committerDiego Biurrun <diego@biurrun.de>2010-07-02 12:52:14 +0000
commit34630b93dc7cf028a4b483c19c4f6ca4162c25c0 (patch)
treefc3b27b610a50caa3f422ca5776ba9d08273952c /libavcodec/cook.c
parente2d17d01976defd623051c01eeda315c1fc5308c (diff)
Move DECODE_BYTES_PAD* macros before Doxygen comments.
Doxygen thinks the comments belong to the macros otherwise. Originally committed as revision 23993 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cook.c')
-rw-r--r--libavcodec/cook.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index 6376ead4bf..3cdc3bd90b 100644
--- a/libavcodec/cook.c
+++ b/libavcodec/cook.c
@@ -284,6 +284,9 @@ static av_cold void init_cplscales_table (COOKContext *q) {
/*************** init functions end ***********/
+#define DECODE_BYTES_PAD1(bytes) (3 - ((bytes)+3) % 4)
+#define DECODE_BYTES_PAD2(bytes) ((bytes) % 4 + DECODE_BYTES_PAD1(2 * (bytes)))
+
/**
* Cook indata decoding, every 32 bits are XORed with 0x37c511f2.
* Why? No idea, some checksum/error detection method maybe.
@@ -304,8 +307,6 @@ static av_cold void init_cplscales_table (COOKContext *q) {
* @param out pointer to byte array of outdata
* @param bytes number of bytes
*/
-#define DECODE_BYTES_PAD1(bytes) (3 - ((bytes)+3) % 4)
-#define DECODE_BYTES_PAD2(bytes) ((bytes) % 4 + DECODE_BYTES_PAD1(2 * (bytes)))
static inline int decode_bytes(const uint8_t* inbuffer, uint8_t* out, int bytes){
int i, off;