comparison bytestream.h @ 5162:4394344397d8 libavcodec

include all prerequisites in header files
author mru
date Sat, 16 Jun 2007 22:59:13 +0000
parents e92146cec4a8
children 3d64f44fd2a3
comparison
equal deleted inserted replaced
5161:94c3f01c243c 5162:4394344397d8
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */ 20 */
21 21
22 #ifndef FFMPEG_BYTESTREAM_H 22 #ifndef FFMPEG_BYTESTREAM_H
23 #define FFMPEG_BYTESTREAM_H 23 #define FFMPEG_BYTESTREAM_H
24
25 #include "common.h"
24 26
25 #define DEF(name, bytes, read, write)\ 27 #define DEF(name, bytes, read, write)\
26 static av_always_inline unsigned int bytestream_get_ ## name(uint8_t **b){\ 28 static av_always_inline unsigned int bytestream_get_ ## name(uint8_t **b){\
27 (*b) += bytes;\ 29 (*b) += bytes;\
28 return read(*b - bytes);\ 30 return read(*b - bytes);\