Mercurial > libavcodec.hg
comparison vp3.c @ 2028:141a9539e270 libavcodec
data_size = 0 cleanup
author | michael |
---|---|
date | Fri, 21 May 2004 14:37:16 +0000 |
parents | ef919e9ef73e |
children | 4225c131a2eb |
comparison
equal
deleted
inserted
replaced
2027:3a78447c3b53 | 2028:141a9539e270 |
---|---|
2472 { | 2472 { |
2473 Vp3DecodeContext *s = avctx->priv_data; | 2473 Vp3DecodeContext *s = avctx->priv_data; |
2474 GetBitContext gb; | 2474 GetBitContext gb; |
2475 static int counter = 0; | 2475 static int counter = 0; |
2476 | 2476 |
2477 *data_size = 0; | |
2478 | |
2479 init_get_bits(&gb, buf, buf_size * 8); | 2477 init_get_bits(&gb, buf, buf_size * 8); |
2480 | 2478 |
2481 if (s->theora && get_bits1(&gb)) | 2479 if (s->theora && get_bits1(&gb)) |
2482 { | 2480 { |
2483 int ptype = get_bits(&gb, 7); | 2481 int ptype = get_bits(&gb, 7); |