aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-03-04 02:51:33 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-03-04 02:51:33 +0000
commit895c2c005e1ac27a0685060205372e854dc1e622 (patch)
tree917b7daf33bc34fe94c289ca2539bab434755823
parent626b7c0f1a71f30d9fa6cbdf2cd3438425a7ba15 (diff)
downloadffmpeg-895c2c005e1ac27a0685060205372e854dc1e622.tar.gz
add bytestream_get/put_be24 functions
Originally committed as revision 8217 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/bytestream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/bytestream.h b/libavcodec/bytestream.h
index 547b28ae45..136e5842e3 100644
--- a/libavcodec/bytestream.h
+++ b/libavcodec/bytestream.h
@@ -35,6 +35,7 @@ static av_always_inline void bytestream_put_ ##name(uint8_t **b, const unsigned
DEF(le32, 4, AV_RL32, AV_WL32)
DEF(le16, 2, AV_RL16, AV_WL16)
DEF(be32, 4, AV_RB32, AV_WB32)
+DEF(be24, 3, AV_RB24, AV_WB24)
DEF(be16, 2, AV_RB16, AV_WB16)
DEF(byte, 1, AV_RB8 , AV_WB8 )