comparison bytestream.h @ 8573:2acf0ae7b041 libavcodec

Fix build: Add intreadwrite.h and bswap.h #includes where necessary.
author diego
date Sun, 11 Jan 2009 22:19:48 +0000
parents c4a4495715dd
children 5690a6211e8c
comparison
equal deleted inserted replaced
8572:4e746259152d 8573:2acf0ae7b041
21 21
22 #ifndef AVCODEC_BYTESTREAM_H 22 #ifndef AVCODEC_BYTESTREAM_H
23 #define AVCODEC_BYTESTREAM_H 23 #define AVCODEC_BYTESTREAM_H
24 24
25 #include "libavutil/common.h" 25 #include "libavutil/common.h"
26 #include "libavutil/intreadwrite.h"
26 27
27 #define DEF_T(type, name, bytes, read, write) \ 28 #define DEF_T(type, name, bytes, read, write) \
28 static av_always_inline type bytestream_get_ ## name(const uint8_t **b){\ 29 static av_always_inline type bytestream_get_ ## name(const uint8_t **b){\
29 (*b) += bytes;\ 30 (*b) += bytes;\
30 return read(*b - bytes);\ 31 return read(*b - bytes);\