[FFmpeg-cvslog] r23993 - trunk/libavcodec/cook.c

diego subversion
Fri Jul 2 14:52:14 CEST 2010


Author: diego
Date: Fri Jul  2 14:52:14 2010
New Revision: 23993

Log:
Move DECODE_BYTES_PAD* macros before Doxygen comments.
Doxygen thinks the comments belong to the macros otherwise.

Modified:
   trunk/libavcodec/cook.c

Modified: trunk/libavcodec/cook.c
==============================================================================
--- trunk/libavcodec/cook.c	Fri Jul  2 14:50:19 2010	(r23992)
+++ trunk/libavcodec/cook.c	Fri Jul  2 14:52:14 2010	(r23993)
@@ -284,6 +284,9 @@ static av_cold void init_cplscales_table
 
 /*************** 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
  * @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;



More information about the ffmpeg-cvslog mailing list