Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Chinen <mchinen@gmail.com>2010-07-09 16:14:33 +0400
committerJanne Grunau <janne-ffmpeg@jannau.net>2010-07-09 16:14:33 +0400
commit603e5c0b711171fd0110745f4c1e650ac6c26760 (patch)
treef41ca1b95ded385739110c1abf420bc1c3710478 /libavformat/internal.h
parentf8280ff4c00eeaa245085fa9691035203abd168c (diff)
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.h10
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 */