diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2007-03-06 13:05:38 +0000 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2007-03-06 13:05:38 +0000 |
commit | c6e3365c819556e57d5aff901381804c4c91a253 (patch) | |
tree | 53145daa4c122d5d45ca9af95241a75c0a783e00 /libavcodec | |
parent | 1586238717d4d4e8d0aebcce890082bd0826b8a3 (diff) | |
download | ffmpeg-c6e3365c819556e57d5aff901381804c4c91a253.tar.gz |
add little endian 24bit read/write
Originally committed as revision 8270 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/bytestream.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/bytestream.h b/libavcodec/bytestream.h index 136e5842e3..d1e9f82ed7 100644 --- a/libavcodec/bytestream.h +++ b/libavcodec/bytestream.h @@ -33,6 +33,7 @@ static av_always_inline void bytestream_put_ ##name(uint8_t **b, const unsigned }; DEF(le32, 4, AV_RL32, AV_WL32) +DEF(le24, 3, AV_RL24, AV_WL24) DEF(le16, 2, AV_RL16, AV_WL16) DEF(be32, 4, AV_RB32, AV_WB32) DEF(be24, 3, AV_RB24, AV_WB24) |