diff options
author | Måns Rullgård <mans@mansr.com> | 2006-02-25 22:41:31 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-02-25 22:41:31 +0000 |
commit | 1bd8624697c1377bf42f5aef4795a370c3b01c1d (patch) | |
tree | 4638a040e943216479ec4a06ef1be1c31d377b92 /libavcodec/vp3.c | |
parent | 285b570fd23a14762ed06024b4eca0ce59b5833b (diff) | |
download | ffmpeg-streaming-1bd8624697c1377bf42f5aef4795a370c3b01c1d.zip ffmpeg-streaming-1bd8624697c1377bf42f5aef4795a370c3b01c1d.tar.gz |
kill some warnings
Originally committed as revision 5063 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r-- | libavcodec/vp3.c | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index a7a9e8b..1638470 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -328,7 +328,6 @@ typedef struct Vp3DecodeContext { int bounding_values_array[256]; } Vp3DecodeContext; -static int theora_decode_comments(AVCodecContext *avctx, GetBitContext gb); static int theora_decode_tables(AVCodecContext *avctx, GetBitContext gb); /************************************************************************ @@ -2737,46 +2736,6 @@ static inline int theora_get_32bit(GetBitContext gb) return ret; } -static int theora_decode_comments(AVCodecContext *avctx, GetBitContext gb) -{ - Vp3DecodeContext *s = avctx->priv_data; - int len; - - if (s->theora <= 0x030200) - { - int i, comments; - - // vendor string - len = get_bits_long(&gb, 32); - len = le2me_32(len); - while(len--) - skip_bits(&gb, 8); - - // user comments - comments = get_bits_long(&gb, 32); - comments = le2me_32(comments); - for (i = 0; i < comments; i++) - { - len = get_bits_long(&gb, 32); - len = be2me_32(len); - while(len--) - skip_bits(&gb, 8); - } - } - else - { - do { - len = get_bits_long(&gb, 32); - len = le2me_32(len); - if (len <= 0) - break; - while (len--) - skip_bits(&gb, 8); - } while (1); - } - return 0; -} - static int theora_decode_tables(AVCodecContext *avctx, GetBitContext gb) { Vp3DecodeContext *s = avctx->priv_data; |