comparison intreadwrite.h @ 567:bd4052d9050c libavutil

Globally rename the header inclusion guard names. Consistently apply this rule: the guard name is obtained from the filename by stripping the leading "lib", converting '/' and '.' to '_' and uppercasing the resulting name. Guard names in the root directory have to be prefixed by "FFMPEG_".
author stefano
date Sun, 31 Aug 2008 07:39:47 +0000
parents 0d4beab5e3c9
children 880c6441f56a
comparison
equal deleted inserted replaced
566:34198f8250cf 567:bd4052d9050c
14 * You should have received a copy of the GNU Lesser General Public 14 * You should have received a copy of the GNU Lesser General Public
15 * License along with FFmpeg; if not, write to the Free Software 15 * License along with FFmpeg; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 */ 17 */
18 18
19 #ifndef FFMPEG_INTREADWRITE_H 19 #ifndef AVUTIL_INTREADWRITE_H
20 #define FFMPEG_INTREADWRITE_H 20 #define AVUTIL_INTREADWRITE_H
21 21
22 #include <stdint.h> 22 #include <stdint.h>
23 #include "config.h" 23 #include "config.h"
24 #include "bswap.h" 24 #include "bswap.h"
25 25
187 #define AV_WL24(p, d) do { \ 187 #define AV_WL24(p, d) do { \
188 ((uint8_t*)(p))[0] = (d); \ 188 ((uint8_t*)(p))[0] = (d); \
189 ((uint8_t*)(p))[1] = (d)>>8; \ 189 ((uint8_t*)(p))[1] = (d)>>8; \
190 ((uint8_t*)(p))[2] = (d)>>16; } while(0) 190 ((uint8_t*)(p))[2] = (d)>>16; } while(0)
191 191
192 #endif /* FFMPEG_INTREADWRITE_H */ 192 #endif /* AVUTIL_INTREADWRITE_H */