changeset 12072:313167689ce8 libavcodec

Move DECODE_BYTES_PAD* macros before Doxygen comments. Doxygen thinks the comments belong to the macros otherwise.
author diego
date Fri, 02 Jul 2010 12:52:14 +0000
parents 126392340f69
children 54091478e0c3
files cook.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/cook.c	Fri Jul 02 12:48:32 2010 +0000
+++ b/cook.c	Fri Jul 02 12:52:14 2010 +0000
@@ -284,6 +284,9 @@
 
 /*************** 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 @@
  * @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;