comparison bytestream.h @ 7760:c4a4495715dd libavcodec

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 f7cbb7733146
children 2acf0ae7b041
comparison
equal deleted inserted replaced
7759:892ca48b7d76 7760:c4a4495715dd
17 * You should have received a copy of the GNU Lesser General Public 17 * You should have received a copy of the GNU Lesser General Public
18 * License along with FFmpeg; if not, write to the Free Software 18 * License along with FFmpeg; if not, write to the Free Software
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 AVCODEC_BYTESTREAM_H
23 #define FFMPEG_BYTESTREAM_H 23 #define AVCODEC_BYTESTREAM_H
24 24
25 #include "libavutil/common.h" 25 #include "libavutil/common.h"
26 26
27 #define DEF_T(type, name, bytes, read, write) \ 27 #define DEF_T(type, name, bytes, read, write) \
28 static av_always_inline type bytestream_get_ ## name(const uint8_t **b){\ 28 static av_always_inline type bytestream_get_ ## name(const uint8_t **b){\
64 { 64 {
65 memcpy(*b, src, size); 65 memcpy(*b, src, size);
66 (*b) += size; 66 (*b) += size;
67 } 67 }
68 68
69 #endif /* FFMPEG_BYTESTREAM_H */ 69 #endif /* AVCODEC_BYTESTREAM_H */