Mercurial > libavcodec.hg
changeset 7045:1fbf79fdd77b libavcodec
Remove dead code.
author | michael |
---|---|
date | Mon, 16 Jun 2008 20:40:44 +0000 |
parents | ab9533fb9335 |
children | 589806348538 |
files | g726.c |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/g726.c Mon Jun 16 08:25:48 2008 +0000 +++ b/g726.c Mon Jun 16 20:40:44 2008 +0000 @@ -381,9 +381,6 @@ uint8_t mask; GetBitContext gb; - if (!buf_size) - goto out; - mask = (1<<c->code_size) - 1; init_get_bits(&gb, buf, buf_size * 8); if (c->bits_left) { @@ -398,7 +395,6 @@ c->bits_left = buf_size*8 - get_bits_count(&gb); c->bit_buffer = get_bits(&gb, c->bits_left); -out: *data_size = (uint8_t*)samples - (uint8_t*)data; return buf_size; }