diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2007-11-03 18:26:42 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2007-11-03 18:26:42 +0000 |
commit | 897d3eef4c7ba35ec820dd5e2b378f8e368e9a18 (patch) | |
tree | b507ded25ed11789a4664e5587526edcb2f815d2 /libavformat/nutdec.c | |
parent | 0c904db11861a5de3a9091fb018116bde5ed567f (diff) | |
download | ffmpeg-streaming-897d3eef4c7ba35ec820dd5e2b378f8e368e9a18.zip ffmpeg-streaming-897d3eef4c7ba35ec820dd5e2b378f8e368e9a18.tar.gz |
Make get_v() available to the other demuxers
Originally committed as revision 10911 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nutdec.c')
-rw-r--r-- | libavformat/nutdec.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index e3b117d..c940c7e 100644 --- a/libavformat/nutdec.c +++ b/libavformat/nutdec.c @@ -27,17 +27,6 @@ #undef NDEBUG #include <assert.h> -static uint64_t get_v(ByteIOContext *bc){ - uint64_t val = 0; - int tmp; - - do{ - tmp = get_byte(bc); - val= (val<<7) + (tmp&127); - }while(tmp&128); - return val; -} - static int get_str(ByteIOContext *bc, char *string, unsigned int maxlen){ unsigned int len= get_v(bc); |