Mercurial > libavcodec.hg
changeset 4824:128b2c9c1e04 libavcodec
Remove #if 0 code.
author | diego |
---|---|
date | Sun, 08 Apr 2007 18:50:18 +0000 |
parents | cff8c7ecac71 |
children | 3f32f0e5a77b |
files | vp3.c |
diffstat | 1 files changed, 0 insertions(+), 22 deletions(-) [+] |
line wrap: on
line diff
--- a/vp3.c Sun Apr 08 13:42:44 2007 +0000 +++ b/vp3.c Sun Apr 08 18:50:18 2007 +0000 @@ -331,8 +331,6 @@ int bounding_values_array[256]; } Vp3DecodeContext; -static int theora_decode_tables(AVCodecContext *avctx, GetBitContext *gb); - /************************************************************************ * VP3 specific functions ************************************************************************/ @@ -2141,28 +2139,8 @@ if (s->theora && get_bits1(&gb)) { -#if 1 av_log(avctx, AV_LOG_ERROR, "Header packet passed to frame decoder, skipping\n"); return -1; -#else - int ptype = get_bits(&gb, 7); - - skip_bits(&gb, 6*8); /* "theora" */ - - switch(ptype) - { - case 1: - theora_decode_comments(avctx, &gb); - break; - case 2: - theora_decode_tables(avctx, &gb); - init_dequantizer(s); - break; - default: - av_log(avctx, AV_LOG_ERROR, "Unknown Theora config packet: %d\n", ptype); - } - return buf_size; -#endif } s->keyframe = !get_bits1(&gb);