diff options
author | Michael Chinen <mchinen@gmail.com> | 2010-07-09 12:14:33 +0000 |
---|---|---|
committer | Janne Grunau <janne-ffmpeg@jannau.net> | 2010-07-09 12:14:33 +0000 |
commit | 603e5c0b711171fd0110745f4c1e650ac6c26760 (patch) | |
tree | f41ca1b95ded385739110c1abf420bc1c3710478 /libavformat/internal.h | |
parent | f8280ff4c00eeaa245085fa9691035203abd168c (diff) | |
download | ffmpeg-603e5c0b711171fd0110745f4c1e650ac6c26760.tar.gz |
move ff_get_v_length and ff_put_v from nutenc.c to internal.h/aviobuf.c
patch by Micheal Chinen < mchinen gmail >
Originally committed as revision 24140 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index 6ff28d3fad..9b68e9e49d 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -157,4 +157,14 @@ void ff_sdp_write_media(char *buff, int size, AVCodecContext *c, int ff_write_chained(AVFormatContext *dst, int dst_stream, AVPacket *pkt, AVFormatContext *src); +/** + * Get the length in bytes which is needed to store val as v. + */ +int ff_get_v_length(uint64_t val); + +/** + * Put val using a variable number of bytes. + */ +void ff_put_v(ByteIOContext *bc, uint64_t val); + #endif /* AVFORMAT_INTERNAL_H */ |